mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
0b2755f964
* Progress toward a diffing algorithm for types. We hope that this will be useful for writing clearer error messages. * Add a missing recursion limiter in `Unifier::tryUnifyTables`. This was causing a crash in certain situations. * Luau heap graph enumeration improvements: * Weak references are not reported * Added tag as a fallback name of non-string table links * Included top Luau function information in thread name to understand where thread might be suspended * Constant folding for `math.pi` and `math.huge` at -O2 * Optimize `string.format` and `%*` * This change makes string interpolation 1.5x-2x faster depending on the number and type of formatted components, assuming a few are using primitive types, and reduces associated GC pressure. New type checker: * Initial work toward tracking the upper and lower bounds of types accurately. Native code generation (JIT): * Add IrCmd::CHECK_TRUTHY for improved assert fast-calls * Do not compute type map for modules without types * Capture metatable+readonly state for NEW_TABLE IR instructions * Replace JUMP_CMP_ANY with CMP_ANY and existing JUMP_EQ_INT * Add support for exits to VM with reentry lock in VmExit --------- Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com> |
||
---|---|---|
.. | ||
test_AbsSum_abs.lua | ||
test_AbsSum_and_or.lua | ||
test_AbsSum_math_abs.lua | ||
test_Assert.lua | ||
test_Factorial.lua | ||
test_Failure_pcall_a_bar.lua | ||
test_Failure_pcall_game_Foo.lua | ||
test_Failure_xpcall_a_bar.lua | ||
test_Failure_xpcall_game_Foo.lua | ||
test_LargeTableCtor_array.lua | ||
test_LargeTableCtor_hash.lua | ||
test_LargeTableSum_loop_index.lua | ||
test_LargeTableSum_loop_ipairs.lua | ||
test_LargeTableSum_loop_iter.lua | ||
test_LargeTableSum_loop_pairs.lua | ||
test_MethodCalls.lua | ||
test_OOP_constructor.lua | ||
test_OOP_method_call.lua | ||
test_OOP_virtual_constructor.lua | ||
test_Pcall_call_return.lua | ||
test_Pcall_pcall_return.lua | ||
test_Pcall_pcall_yield.lua | ||
test_Pcall_xpcall_return.lua | ||
test_SqrtSum_exponent.lua | ||
test_SqrtSum_math_sqrt.lua | ||
test_SqrtSum_sqrt_getfenv.lua | ||
test_SqrtSum_sqrt_roundabout.lua | ||
test_SqrtSum_sqrt.lua | ||
test_string_lib.lua | ||
test_StringInterp.lua | ||
test_table_concat.lua | ||
test_TableCreate_nil.lua | ||
test_TableCreate_number.lua | ||
test_TableCreate_zerofill.lua | ||
test_TableFind_loop_ipairs.lua | ||
test_TableFind_table_find.lua | ||
test_TableInsertion_index_cached.lua | ||
test_TableInsertion_index_len.lua | ||
test_TableInsertion_table_insert_index.lua | ||
test_TableInsertion_table_insert.lua | ||
test_TableIteration.lua | ||
test_TableMarshal_select.lua | ||
test_TableMarshal_table_pack.lua | ||
test_TableMarshal_table_unpack_array.lua | ||
test_TableMarshal_table_unpack_range.lua | ||
test_TableMarshal_varargs.lua | ||
test_TableMove_empty_table.lua | ||
test_TableMove_same_table.lua | ||
test_TableMove_table_create.lua | ||
test_TableRemoval_table_remove.lua | ||
test_ToNumberString.lua | ||
test_UpvalueCapture.lua | ||
test_VariadicSelect.lua |