Skip to content

Optimization: Cache the Colorssss - #126

Open
dirwin31 wants to merge 1 commit into
firestar5683:Domfrom
dirwin31:ThemeCachePerFrame
Open

Optimization: Cache the Colorssss#126
dirwin31 wants to merge 1 commit into
firestar5683:Domfrom
dirwin31:ThemeCachePerFrame

Conversation

@dirwin31

@dirwin31 dirwin31 commented Sep 7, 2026

Copy link
Copy Markdown

Description:

Cache theme-file checks per render frame. Previously, every theme-color lookup checked both

Preserves next-frame theme updates, fallback colors, alpha handling, and independent returned
color objects.

Verification:

  • All three theme tests passed: once-per-frame checks, next-frame updates, and frame-counter
    reset.
  • Supplemental checks confirmed 50 lookups produce two file checks, file replacement/removal
    refresh correctly, and color-copy and alpha behavior remain unchanged.

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.

1 participant