Skip to content

Record Lua runtime improvement findings and reproducible probes - #1470

Merged
Frotty merged 1 commit into
masterfrom
codex/lua-runtime-investigation
Oct 16, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/lua-runtime-investigation

Conversation

@Frotty

@Frotty Frotty commented Oct 16, 2026

Copy link
Copy Markdown
Member

Record evidence and implementation boundaries for the next Lua runtime improvements. Two opt-in repros expose existing correctness defects: virtual override effects can disappear with an unread return, and optimized Lua can elide an unused allocation whose ID consumption is observable. Prioritize those before extending effect-based optimizations.

Add backlog proposals for exact-receiver devirtualization, complex-receiver temporaries, bounded descriptor reuse, large-range bulk copies, and development-only Lua body reload. Preserve stock-Lua timing samples and executable probes, including an actual-generated-code reload smoke test and an optional maintainer-run game capability probe. No production compiler code changes.

Validation on Windows:

  • Default opt-in research fixtures pass; the known-defect invocation intentionally reproduces three failures across four cases, with the Jass controls passing.
  • A discarded receiver-temporary prototype passed 378 tests (140 LuaTranslationTests, 236 LuaBackendAuditTests, two probes), but caused locals spilling at 199 live locals; the notes record why it is not ready to ship.
  • Saved Lua scripts syntax-check with Lua 5.3; both reload probes and the stock capability smoke test pass. Timing drivers check results and rotate variant order.

Stock-Lua timings do not establish an in-game speedup. Linux/macOS and Warcraft remain unverified; no game was launched.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T11:34:44.783936Z 9e001c0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit 5cfce14 into master Oct 16, 2026
2 checks passed
@Frotty
Frotty deleted the codex/lua-runtime-investigation branch November 25, 2026 08:53
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