Skip to content

Performance fix#4

Merged
Intranox merged 30 commits into
Intranox:betafrom
Doublonmousse:performance
Feb 24, 2026
Merged

Performance fix#4
Intranox merged 30 commits into
Intranox:betafrom
Doublonmousse:performance

Conversation

@Intranox

Copy link
Copy Markdown
Owner

No description provided.

Doublonmousse and others added 30 commits June 8, 2025 10:10
This diminishes the cost for this
- one element of somewhat fixed size (no vec pushing)
- one element given to gtk that can tile this as it pleases with less buffer pushes
We use the rtree to find the element in the viewport, mark these ones using a hashmap, call the rendering function, then remove the rest by iterating on the keys a second time, filtering on keys not in the hashmap
Do not leak key trees out of the store structure
… `push_repeat` instead)

`push_repeat(x,None)` will take the whole not and repeat it
that would push a 'current' stroke key to the rendering keys
And remove now superfluous filters on the trash status for the outputs of the `key_tree`
…ectly

The information is there already, and it is probably more effective to get the value from the keytree rather than recalculating it on the fly on each event
This seems to fix weird graphical glitches that would occur otherwise
@Intranox Intranox merged commit 4d4b1ad into Intranox:beta Feb 24, 2026
1 check passed
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