Repository navigation
Lua hot reload docs: in-game results of the last changes; what reloads, for map authors - #1557
Merged
Merged
Conversation
…what reloads, for map authors
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation only: the hot reload measurements of the last two days, and what a hot reload now takes, for the people and agents writing maps.
docs/LUA_HOT_RELOAD.md, "Measured in the game": a section for the test map's suite with fourteen payloads (68 checks, all passed, on master after Lua hot reload: real edits (constants first read, array literals, new generic specialisations); maps without InitBlizzard #1553 to Lua hot reload: removed closures, classes and callbacks apply with a warning #1556), the four new phases (a constant first read, an array literal, a new generic type argument; a payload of 1,374,082 bytes; an interface added before another'srunand a closure appended in a function of another's signature; a removed closure whose object the map stored), and Castle Fight in the game: four payloads from real edits (a function body, two tuned constants, an added@onHotReloadfunction, an undo), each applied 0.5 to 2.5 s after its file was written. "A real project's edits" leaves the list of what was not measured; the status line says fourteen payloads and Castle Fight.agent-docs/WURST_LANGUAGE.md, the paragraph on hot run which agents working on maps read: what reloads now (array literals, constants read for the first time, new type arguments of generic classes, removals with a warning), what still needs a restart (a changed type of a global or field; a closure inserted before others of one interface in one function which have no binding), and how to avoid the latter: append the callback after the others, or bind it to a local, which gives it an identity of its own.All in-game runs were on the 3.0.1.24371 client, single player.