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

cellayout: Investigate the possibility to cache the grid in AbstractGridLayout #733

Open
alexanderpann opened this issue Jan 9, 2024 · 0 comments

Comments

@alexanderpann
Copy link
Collaborator

loadGrid is called for calculating the ascent, maximum/minimum inner size etc but I think the grid could be cached for ILayoutableContainer+size constraint key pairs. I didn't work for me for some reason but it would speed up the celllayout language a lot as I noticed with the profiler. One use is is the richtext language which is used by com.mbeddr.doc where the relayouting can be very slow when typing a lot of letters very fast.

@alexanderpann alexanderpann changed the title Investigate possibility to cache the grid in AbstractGridLayout cellayout: Investigate the possibility to cache the grid in AbstractGridLayout Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant