Skip to content

Fix/improve font property performance#1694

Merged
linusha merged 3 commits intomainfrom
fix/improve-font-property-performance
Feb 4, 2025
Merged

Fix/improve font property performance#1694
linusha merged 3 commits intomainfrom
fix/improve-font-property-performance

Conversation

@merryman
Copy link
Member

I identified a couple of performance bottlenecks inside of the textmorph specific properties and tried to optimize accordingly.

@merryman merryman requested a review from linusha January 30, 2025 15:54
Previous code would always loop for a very large array of CSS rules. The new approach just remembers where the rule is stored and directly deletes it, avoiding the search entirely.
@merryman merryman force-pushed the fix/improve-font-property-performance branch from 0797ff6 to 2f93f69 Compare January 31, 2025 11:36
@linusha linusha merged commit 3f58d2d into main Feb 4, 2025
4 checks passed
@linusha linusha deleted the fix/improve-font-property-performance branch February 4, 2025 18:58
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