Quote:Tables are garbage collected, they aren't allocated on the stack
Really? I always assumed all local allocations avoided the GC and just got deallocated when they went out of scope. Maybe some special cases are needed for closures/upvalues? But thats not the case in my example...
So it sounds like the GC is the primary reason why there is a problem (although you mentioned there could be other problems, like hooks ect...)?