[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: About ROMable Lua
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: Wed, 14 Jan 2009 20:22:24 +0200
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.
Best,
Bogdan
On Wed, Jan 14, 2009 at 8:15 PM, Fabien <fleutot+lua@gmail.com> 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.