lua-users home
lua-l archive

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

I understand your question now. I never looked at this, so thanks for
the idea, this could be a further step in ROMing Lua :) I'll take a
look when I have some time, and I hope I'll be able to give a positive
answer to your question afterwards.


On Wed, Jan 14, 2009 at 8:15 PM, Fabien <> wrote:
> 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.