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

refactor: try to cache computed styles at least within updates #4461

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 22, 2024

  1. refactor: try to cache computed styles at least within updates

    Here I added basic cache for computed styles which is busted every time
    any style or instance is changed.
    
    Though it computes each property only once between changes.
    So property label, style section dots and style control reuse the same
    computed piece.
    
    This can potentially fix performance and memory usages. Though requires testing.
    TrySound committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    c4c6d18 View commit details
    Browse the repository at this point in the history
  2. Fix lint

    TrySound committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    010bcb0 View commit details
    Browse the repository at this point in the history