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

Only iterate on visible runs within textbounds #108

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

tamewild
Copy link
Contributor

@tamewild tamewild commented Jul 28, 2024

Currently it seems that text is being clipped per glyph and if there are whole lines outside of the visible bounds, it'll still have to go through each glyph on each line. This can be really really slow with super long files

Without the changes in my iced app:
image

With the changes:
image

@grovesNL grovesNL merged commit f820947 into grovesNL:main Jul 28, 2024
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.

2 participants