mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Improved lume.clamp()'s performance on non-JIT
Removed use of the functions math.max() and math.min() and replaced them with and/ors: [5000000 calls, Lua5.2] old func: 1.37 seconds new func: 0.53 seconds
This commit is contained in:
parent
2699094218
commit
83a051aadb