lua-users home
lua-l archive

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


You could create a sub-allocator for 32 bytes (x86), for allocating/freeing tables. I don't know how much the savings would be though - the node / array parts are what are expensive to create and resize. Other then that, not much could be gained from fixed size allocations (strings include a header + the string in the single allocation, as do userdata, so neither of these could be improved which leaves only coroutines and tables from runtime-allocated structures).

- Alex