There's a few performance improvements on the PTS - could someone who's experiencing this issue download the PTS and test it out? I don't expect it to help but I'm having trouble reproducing it here.
Originally Posted by DoomSprout
I'd be surprised if there was much, if any, actual Lua code in the addon system. My assumption, which is probably completely wrong, is that every API call is a linked C/C++ function.
There's about 30k of Lua code in it, but it's all glue code. About 2/3 of it is devoted to safely calling addon Lua functions from C++ and properly dispatching/displaying any errors that may occur, while 2/3 of the remainder is the serialization code.It's really thoroughly uninteresting All the interesting stuff is, indeed, done in C++.