Skip to content

Compare Lua hot reload init statements without copying revisions - #1609

Merged
Frotty merged 1 commit into
masterfrom
codex/hotreload-compare-init-statements
Nov 6, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/hotreload-compare-init-statements

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Summary

Compare package init sequences using their existing statements instead of allocating prefixed copies of every key and revision. Common initializer units still compare by key. Other statements compare by revision, and ordering and diagnostics stay the same.

Validation

  • JFR on merged master identified the temporary init comparison strings among remaining allocation sources.
  • On the same independently decoded 101 MB Castle Fight manifest pair, warmed diff allocation fell from 85.6 MB to 80.3 MB. The output Lua was byte-identical and neither run emitted warnings.
  • All 266 focused Lua hot-reload and fuzz tests passed on Windows. Validation was entirely offline.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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-11-06T18:23:34.842198Z 3dea13e 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 7a57c3a into master Nov 6, 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