Skip to content

Index compiler catalogs for constant-time lookup - #247

Merged
julia-script merged 1 commit into
mainfrom
julia/compiler-catalog-indexes
Aug 23, 2026
Merged

Index compiler catalogs for constant-time lookup#247
julia-script merged 1 commit into
mainfrom
julia/compiler-catalog-indexes

Conversation

@julia-script

Copy link
Copy Markdown
Owner

Summary

  • derive private scalar and intrinsic lookup maps once from the canonical frozen catalogs
  • preserve catalog arrays as the ordering and inventory authority
  • cover every actor, operation id, scalar alias, missing name, and object identity with exhaustive tests
  • regenerate the compiler toolchain identity

Performance

Measured with isolated, non-interactive Vitest runs on the same host and against the one-pass documentation baseline.

Workload Before After Saved
Frontend with stdlib 5.05s 3.95s 21.8%
Realized evaluator and Wasm 12.03s 9.23s 23.3%
Optimizer corpus 41.11s 27.28s 33.6%
Native and toolchain cohort 62.88s 55.32s 12.0%
Full test:parallel 198.19s 189.09s 9.10s
Native acceptance 108.50s 97.46s 11.04s

The full parallel suite user CPU fell from 1,283.39s to 1,128.68s, a 12.1% reduction. All 2,078 tests passed.

Verification

  • pnpm typecheck
  • pnpm exec biome check .
  • pnpm test: 28 of 28 tasks passed
  • pnpm check
  • pnpm release:candidate: 9 of 9 tests passed

@julia-script
julia-script merged commit 0843237 into main Aug 23, 2026
2 checks passed
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