0.524
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 andfor
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 shortfor
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!