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

Reuse entries in text::Cache #1934

Merged
merged 5 commits into from
Jun 27, 2023
Merged

Reuse entries in text::Cache #1934

merged 5 commits into from
Jun 27, 2023

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Jun 27, 2023

This PR introduces a new HashMap in the text::Cache to allow reusing buffers that have already been measured during layouting.

Fixes #1933.

@hecrj hecrj added this to the 0.10.0 milestone Jun 27, 2023
@hecrj hecrj enabled auto-merge June 27, 2023 23:28
@hecrj hecrj merged commit 8d65e40 into master Jun 27, 2023
@hecrj hecrj deleted the reuse-text-cache-entries branch June 27, 2023 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sometimes the last word of a text is not rendered
1 participant