Skip to content

wowlua v0.9.1

Choose a tag to compare

@github-actions github-actions released this 19 Oct 17:49
· 1001 commits to main since this release

What's Changed

  • Syntax: smaller tokens, numerals and table fields (AllTheThings peak −0.45 to −0.82 GB) by @DomenikIrrgang in #20
  • Type checker: each type stored once, in a smaller slot (check.lua peak −0.5 to −0.8 GB on AllTheThings) by @DomenikIrrgang in #21
  • Type checker: FxHash for its maps (check.lua −14% instructions on AllTheThings) by @DomenikIrrgang in #26
  • Lowering: skip lookups and hygiene work that cannot change the result (−3 to −5% instructions) by @DomenikIrrgang in #23
  • Release builds: no repeated Lua compile, no per-flavor require scan (−11% on AllTheThings) by @DomenikIrrgang in #24
  • WoW API: parsed once per build, no copies, tokens freed (small multi-flavor addons −40% memory) by @DomenikIrrgang in #25
  • Builds check emitted Lua without a second syntax tree (ATT check −11% instructions, −0.27 GB) by @DomenikIrrgang in #27
  • Type checker: records share their field maps (ATT check.lua −0.37 GB; field-by-field tables no longer quadratic) by @DomenikIrrgang in #28
  • Smaller syntax nodes, sources kept once (peak −25% median; SuuUI −25%, ATT −11%) by @DomenikIrrgang in #32
  • WoW API: primitive globals from a generated table (empty project −30% instructions, −36% peak) by @DomenikIrrgang in #33
  • Source maps stay encoded until written; bundle maps stream (ATT build −0.5 GB peak) by @DomenikIrrgang in #30
  • Release builds: cheaper scope resolution, no second compile of bundled members (SuuUI release −20%) by @DomenikIrrgang in #31
  • wowlua dev keeps compiled files between builds (ATT save 6.9 → 2.2 s) by @DomenikIrrgang in #29
  • Diagnostics: a window of long lines, a summary count, check.lints for downgraded codes (ATT output 60 MB → 0.7 MB) by @DomenikIrrgang in #34
  • check.lua: later flavors reuse plain Lua files that check the same by @DomenikIrrgang in #35
  • check.lua: later flavors take each file's package globals from the first by @DomenikIrrgang in #36
  • check.lua reuse: record what a check reads of a declaration, not all of it by @DomenikIrrgang in #38
  • Type checker, lint and load order: fewer walks, clones and allocations (check.lua: Plater −44%, Cell/WeakAuras −23%, ATT −11%) by @DomenikIrrgang in #39
  • wowlua dev: unchanged plain Lua files are not parsed again (ATT save 1.8 → 0.58 s) by @DomenikIrrgang in #40
  • Builds: prerequisites for parallel compiling (no stack overflow on long chains, Lua out-of-memory is an ICE) by @DomenikIrrgang in #41
  • Builds: parsing, lowering and finishing, and lints on worker threads (ATT check 5.8 → 1.5 s) by @DomenikIrrgang in #42
  • Finish #6, #8 and #10: parallel usages and per-file setup, shared function types, cheaper shapes by @DomenikIrrgang in #43
  • wowlua dev: a rebuild writes only the files that changed (#7 stage 4) by @DomenikIrrgang in #44
  • Deep chains: no chain-sized stack per operand; the CLI on a 16 MiB thread by @DomenikIrrgang in #46
  • CI: smaller debug info, no moot runs, the Rust cache saved from main by @DomenikIrrgang in #45
  • IR: box rarely used parts (ATT check −6% peak, SuuUI release −13%) by @DomenikIrrgang in #47
  • Load order: fewer false W1033/W1034/W1035 (corpus 511 → 320) by @DomenikIrrgang in #48
  • Builds: less serial work on the main thread (ATT check main thread 0.55 → 0.29 s) by @DomenikIrrgang in #51
  • Builds: Lua compile results kept between runs (warm ATT check −34% instructions) by @DomenikIrrgang in #52
  • Syntax: a flat, index-based tree read through views (ATT check −65% peak, −9.6% instructions) by @DomenikIrrgang in #53
  • Docs: user guides and a changelog by @DomenikIrrgang in #54
  • README: link wowlua.dev by @DomenikIrrgang in #55
  • Release workflow: post each release to the Discord's #releases by @DomenikIrrgang in #56
  • Engine: frames, layout, keys and checks without repeated work (scenarios −25–40%, dev scenario suite 38 s → 6 s) by @DomenikIrrgang in #58
  • VM: calls and lookups without repeated work (tables −29%, method calls −17%, scenarios −5–8%) by @DomenikIrrgang in #59
  • README: a discord link in the link row by @DomenikIrrgang in #60

Full Changelog: v0.9.0...v0.9.1