Skip to content

0.524

Compare
Choose a tag to compare
@zeux zeux released this 21 Apr 23:40
· 682 commits to master since this release
e0a6461

Analysis changes

  • Improve type mismatch errors for classes defined in different modules
  • Non-strict type inference now automatically infers function return types, similarly to strict mode
  • Improve output of luau-analyze --annotate for arrays and for loops
  • Fix GCC9 warnings in CMake builds

Runtime changes

  • Make bytecode compiler ~5% faster by reducing temporary allocations
  • When new optimization level 2 is used (-O2 in CLI), bytecode compiler now unrolls short for loops when it's profitable
  • Improve incremental GC pacing to make GC workload more even
  • Reduce the pace of sweeping during GC (this can make GC cycles a bit longer but reduces the frame time impact of GC in sweep stage)

Community contributions

None this week; PRs are always welcome!