Caching of spine item sizes for faster book loading (saves 1-4 seconds). (#54)
As discussed in https://github.com/daveallie/crosspoint-reader/pull/38#issuecomment-3665142427, #38
This commit is contained in:
@@ -32,6 +32,7 @@ class Epub {
|
||||
bool findContentOpfFile(std::string* contentOpfFile) const;
|
||||
bool parseContentOpf(const std::string& contentOpfFilePath);
|
||||
bool parseTocNcxFile();
|
||||
void initializeSpineItemSizes();
|
||||
|
||||
public:
|
||||
explicit Epub(std::string filepath, const std::string& cacheDir) : filepath(std::move(filepath)) {
|
||||
|
||||
Reference in New Issue
Block a user