lua-users home
lua-l archive

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

> for some benchmarking purposes I patched the default allocator function
> in Lua to track the memory usage during the execution of a script.

I've posted something similar, but which also shows the total memory and
the pointers, which can be useful to track object lifetimes. (If the Lua
core sent a documentation string to the allocator, this could be nicer.)