Skip to content

0.511

Compare
Choose a tag to compare
@zeux zeux released this 21 Jan 17:06
· 828 commits to master since this release
8fe95c9

Analysis changes

  • TableOperations lint now includes a warning for table.create(N, {}) (which is likely a mistake since the table is shared by all entries)
  • Type checker now type checks #v when v is a union
  • Parser now rejects sources that consists of a single unfinished long comment (fixes #312)

Runtime changes

  • Work around significant MSVC 2022 performance regression, bringing it more or less in line with MSVC 2019
  • Compiler now predicts array size for newly allocated tables when the table is filled in a short loop
  • Small improvements in compilation throughput (~2% faster)
  • Implement paged sweeper for GC which improves sweep throughput 2-3x and reduces memory consumption by 8 bytes per object (once it is stabilized we will see additional 8 bytes per object of savings)

CLI changes

  • Improve Repl Tab completion
  • Repl now supports -i (interactive mode to run code in context of a script's environment) and -On (to control optimization flags)

Community contributions