Added lua_setuserdatametatable and lua_getuserdatametatable C API methods for a faster userdata metatable fetch compared to luaL_getmetatable. Note that metatable reference has to still be pinned in memory!
New Solver
Further improvement to the assignment inference logic
Fix many bugs surrounding constraint dispatch order
Native Codegen
Add IR lowering hooks for custom host userdata types
What's new
lua_setuserdatametatable
andlua_getuserdatametatable
C API methods for a faster userdata metatable fetch compared toluaL_getmetatable
. Note that metatable reference has to still be pinned in memory!New Solver
Native Codegen
Internal Contributors
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: Aviral Goel agoel@roblox.com Co-authored-by: Vighnesh Vijay vvijay@roblox.com Co-authored-by: Vyacheslav Egorov vegorov@roblox.com