lua-users home
lua-l archive

Varargs worst case

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


A long time ago I created what I believe to be the worst case for varargs handling:
https://github.com/SoniEx2/Stuff/tree/master/lua/Forth
(Note that the code is not particularly good but it does do the "varargs hammering" pretty well IMO)
I'd consider this a good benchmark for varargs performance across versions.
I'm pretty sure if this code worked in Lua 5.0 the performance would be worse than bad, but luckily it doesn't work!

AltStyle によって変換されたページ (->オリジナル) /