Skip to content

Reuse Lua hot reload initializer marker hashes - #1603

Merged
Frotty merged 2 commits into
masterfrom
codex/hotreload-reuse-initializer-keys
Nov 6, 2026
Merged

Frotty merged 2 commits into
masterfrom
codex/hotreload-reuse-initializer-keys

Conversation

@Frotty

@Frotty Frotty commented Nov 6, 2026

Copy link
Copy Markdown
Member

Summary

Build the initializer name and run-order indexes together so each statement's runtime marker is hashed once. Preserve marker values, order checks and manifest format.

Stacked on #1602 to measure and review the remaining allocation after binding-index reuse.

Validation

  • JFR identified initializer marker hashing as the largest remaining avoidable allocation source in the indexed diff.
  • On the same pair of independently parsed Castle Fight manifests, warmed allocation fell from 175 MB to 148 MB per unchanged diff, with matching payload digest and warnings.
  • All 266 focused hot-reload and fuzz tests passed on Windows. All validation was 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-06T17:40:09.418957Z 4a68705 Manual request
ℹ️ 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 commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 4a68705ad4

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Frotty
Frotty changed the base branch from codex/hotreload-reuse-binding-index to master November 6, 2026 17:46
@Frotty
Frotty merged commit f6e674c 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