Skip to content

Implement the 0.38 performance tranche - #47

Merged
rbroderi merged 1 commit into
mainfrom
codex/038-performance-tranche
Sep 14, 2026
Merged

rbroderi merged 1 commit into
mainfrom
codex/038-performance-tranche

Conversation

@rbroderi

Copy link
Copy Markdown
Owner

Summary

  • add frame-free pure recursive base cases and scalar compiled-call entries
  • prove guarded dense primitive-write regions
  • reduce fresh record construction and lazy table metadata costs
  • add the 0.38 benchmark, correctness coverage, documentation, and version bump

Performance

  • balanced recursion: 22.0% faster on Python 3.13 and 18.7% faster on Python 3.14
  • recursive record continuations: 5.4% and 3.2% faster
  • dense aliased primitive writes: 1.6% and 4.1% faster
  • controls remained within the 5% regression gate

Validation

  • 598 Python tests on CPython 3.13 and 3.14
  • official Lua 5.5.1 probes: 24/24 on both versions
  • Penlight 23/23, luatest 5/5, LuaCov scanner 24/24, Are We Fast Yet 11/11 on both versions

@rbroderi
rbroderi merged commit 1621938 into main Sep 14, 2026
9 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