lua-users home
lua-l archive

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


When you do a loadbuffer, you create a struct Proto, which points to possibly large memory chunks: bytecode, debug infos, constants... All of those are malloc'ed in RAM, unless I'm mistaken, although most of them are unmutable. 

So I'm wondering whether we could keep them in flash instead of using scarce memory resources.

-- Fabien.