Does anyone know the differences between Lua engine used in wow and the standard Lua distribution?
I've had in incident recently.. my addon is running a heavy calculation using tons of short strings that takes a few seconds to finish. I pretty much copied the code to an standard Lua engine (with the same input), and it took forever to finish. More interestingly, the memory consumption went up to like 500MB in the process, and when I inserted garbage collection in the loop it took roughly a minute on each pass. I switched from short strings to large integers (not sure why I was using strings in the first place), and it worked a lot quicker, but still slower than wow IIRC. What kind of miracles are they employing?
Also, is the taint mechanism implemented via a modification to the engine?