Skip to content

Defer nested palette discovery during startup#3

Open
Krisztiaan wants to merge 1 commit intora2web:mainfrom
Krisztiaan:perf/lazy-palette-discovery
Open

Defer nested palette discovery during startup#3
Krisztiaan wants to merge 1 commit intora2web:mainfrom
Krisztiaan:perf/lazy-palette-discovery

Conversation

@Krisztiaan
Copy link
Contributor

Summary

  • keep startup palette indexing to direct .pal entries only
  • move nested archive palette scanning to a background warmup task after context creation
  • preserve existing nested palette support by appending discovered paths as warmup progresses

Why

  • startup previously parsed nested archives synchronously, increasing boot latency on large resource sets
  • this keeps initial load responsive while still enabling nested palette resolution shortly after startup

Validation

  • npm run build

@Krisztiaan Krisztiaan marked this pull request as draft February 24, 2026 13:17
@Krisztiaan Krisztiaan marked this pull request as ready for review February 24, 2026 19:10
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