luau/tools
vegorov-rbx 443903aa00
Sync to upstream/release/615 (#1175)
# What's changed?

* Luau allocation scheme was changed to handle allocations in 513-1024
byte range internally without falling back to global allocator
* coroutine/thread creation no longer requires any global allocations,
making it up to 15% faster (vs libc malloc)
* table construction for 17-32 keys or 33-64 array elements is up to 30%
faster (vs libc malloc)

### New Type Solver

* Cyclic unary negation type families are reduced to `number` when
possible
* Class types are skipped when searching for free types in unifier to
improve performance
* Fixed issues with table type inference when metatables are present
* Improved inference of iteration loop types
* Fixed an issue with bidirectional inference of method calls
* Type simplification will now preserve error suppression markers

### Native Code Generation

* Fixed TAG_VECTOR skip optimization to not break instruction use counts
(broken optimization wasn't included in 614)
* Fixed missing side-effect when optimizing generic loop preparation
instruction

---

### Internal Contributors

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>

---------

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Vighnesh <vvijay@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: David Cope <dcope@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
2024-03-01 10:45:26 -08:00
..
fuzz Sync to upstream/release/605 (#1118) 2023-12-01 23:46:57 -08:00
natvis Sync to upstream/release/608 (#1145) 2024-01-12 14:25:27 -08:00
codegenstat.py Sync to upstream/release/573 (#903) 2023-04-21 15:14:26 -07:00
codesizeprediction.py Sync to upstream/release/608 (#1145) 2024-01-12 14:25:27 -08:00
faillist.txt Sync to upstream/release/615 (#1175) 2024-03-01 10:45:26 -08:00
flag-bisect.py Sync to upstream/release/563 (#833) 2023-02-10 11:40:38 -08:00
gdb_printers.py Sync to upstream/release/519 (#422) 2022-03-17 17:46:04 -07:00
heapgraph.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
heapstat.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
heuristicstat.py Sync to upstream/release/604 (#1106) 2023-11-17 10:46:18 -08:00
lldb_formatters.lldb Sync to upstream/release/600 (#1076) 2023-10-20 18:10:30 -07:00
lldb_formatters.py Sync to upstream/release/614 (#1173) 2024-02-23 12:08:34 -08:00
numprint.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
patchtests.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
perfgraph.py Sync to upstream/release/608 (#1145) 2024-01-12 14:25:27 -08:00
perfstat.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
stack-usage-reporter.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00
svg.py Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
test_dcr.py Sync to upstream/release/614 (#1173) 2024-02-23 12:08:34 -08:00
tracegraph.py Sync to upstream/release/559 (#804) 2023-01-13 14:10:01 -08:00