SLua Alpha Release Notes - May 1 2025
H
Harold Linden
- Updated SLua to merge in upstream changes up til Luau v0.668
- Added support for __tojsonmetamethod, called during JSON serialization
- Greatly improved performance of ll.SetLinkPrimitiveParamsFast()with manyPRIM_LINK_TARGETs
- A forced sleep penalty is now applied to scripts that stay in blocking code far past their scheduled time slice for 5x the amount they ran over
- - Previously this penalty was much smaller in SLua, but ran into issues with resource starvation where blocking scripts were taking the lion's share of the script time
- - For reference, Mono does a 10x penalty
- - This was especially obvious in cases of expensive ll.SetLinkPrimitiveParamsFast()calls
- tovector()andtoquaternion()now only allow whitespace around characters, trailing junk causes them to return nil
- - This is distinct from LSL which allows <1,2,3WHATEVER!!!
- Scripts that crashed with an error can now be reset normally
- Simulator is rebased to include changes from upcoming simulator release
- A handful of crash fixes 🙂
Log In