forked from fyne-io/fyne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid calling theme function in RichText too often as it is costly.
This reduce the time spend in lock from 6% to 4% which is not negligeable. From the trace, it seems that we are taking the RichText propertyLock to often and that cause another 2 points. Another PR should review those and reduce the amount of time calling the locking mechanism.
- Loading branch information
Cedric BAIL
committed
Apr 13, 2023
1 parent
3d70ce5
commit 48fc8e4
Showing
1 changed file
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters