Repository navigation
Compress Lua descriptor and dispatch names with -opt - #1496
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 50acff4232
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Lua
-optshortened IM globals and functions before backend lowering, leaving source names in class descriptors, field storage, dispatch slots and declarations introduced by the Lua backend. Assign final names after lowering and dispatch resolution so those declarations and the matching slot reads and bindings are compressed together.Preserve native/extern names, entry points,
@preserveNameand string callback targets. Reserve identifiers referenced by raw Lua literals rather than rewriting arbitrary code or strings; converting those helpers to structured AST bindings remains in BACKLOG.md.Validation: 353 tests passed on Windows across LuaNameCompressionTests, LuaTranslationTests, OptimizerTests and DeterministicChecks. Coverage includes four generic sibling dispatch implementations, both Jass and Lua execution, runtime metadata, preserved-name collisions, ExecuteFunc/native calls and repeated-compilation determinism. Linux and macOS have not been run locally.