📄️ For Loops
The pairs and ipairs functions are optimized in Pluto. On a consistent basis, pairs & ipairs loops are 3.5x faster than their Lua counterparts.
📄️ Jump Table
Lua implemented a jump table, but it is only compatible with clang and gcc. Pluto has an additional jump table implementation for other compilers; however, it is not enabled by default because it can add minutes to compile time, depending on the setup. However, it may be beneficial to you regardless, as a jump table can increase virtual machine performance by up to 5%.
📄️ Special Arithmetic
Special arithmetic algorithms are optimized by Pluto during compile-time.
📄️ String Preallocation
String preallocation can be used in C functions to avoid a copy when data is allocated just for Lua, e.g.: