lua-users home
lua-l archive

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


I think I just partly answered my own question about the potential ill
effecs of __gc metamethods on caching. Since the specification doesn't
say exactly when they run, it's probably possible to assume that all of
the code that depends on the cache executes ahead of the __gc routine. I
think that only holds up though if there are no loads or stores in the
loop since otherwise the loop code could interact with the __gc code.

Mark