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

perf: use fixed-size arrays for the font cache #40912

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Jan 8, 2024

Backport of #40898

See that PR for details.

Notes: none

Since we know at compile time which [family x script] combos we want to
cache, we can hold the cache in fixed std::arrays instead of in nested
std::unordered_maps.

Co-authored-by: Charles Kerr <charles@charleskerr.com>
@trop trop bot requested a review from ckerr January 8, 2024 09:31
@trop trop bot added 29-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jan 8, 2024
@ckerr ckerr merged commit f0c0256 into 29-x-y Jan 8, 2024
20 checks passed
@ckerr ckerr deleted the trop/29-x-y-bp-perf-use-fixed-size-arrays-for-the-font-cache-1704706278998 branch January 8, 2024 18:55
Copy link

release-clerk bot commented Jan 8, 2024

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
29-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant