Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvfntman: fix LVFontGlobalGlyphCache::removeNoLock #532

Merged

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Oct 3, 2023

The cache size was not updated when removing the last item.

Potential impact: negligible, between 64 and 316 bytes on each book opening after the first one, resulting in a ~1% reduction in usable cache size after opening 17 books.


This change is Reviewable

The cache size was not updated when removing the last item.

Potential impact: negligible, between 64 and 316 bytes on each book
opening after the first one, resulting in a ~1% reduction in usable
cache size after opening 17 books.
@poire-z
Copy link
Contributor

poire-z commented Oct 3, 2023

I remember you mentionned at #506 (comment):

some inefficiencies in the font manager greatly increase loading times on some of my EPUBs (by a factor of ~7)

I guess this PR is not that - but has that already comes in?

@benoit-pierre
Copy link
Contributor Author

I remember you mentionned at #506 (comment):

some inefficiencies in the font manager greatly increase loading times on some of my EPUBs (by a factor of ~7)

I guess this PR is not that - but has that already comes in?

No, this is this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants