lua-users home
lua-l archive

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




On 13/10/15 12:20 AM, Patrick Donnelly wrote:
On Mon, Oct 12, 2015 at 9:52 PM, Soni L. <fakedme@gmail.com> wrote:
Also the solution with wrapping load() and concatenating the strings
manually... probably doesn't work when you're memory constrained.
Uh, you have enough memory for the bytecode of a chunk but not the
chunk's source? That sounds ridiculous. Even so, you have options
available: you could (1) compress the chunk by stripping
comments/whitespace and/or (2) zip compress the chunk received off the
wire and decompress in the reader.

What about the "JIT to Lua" thing? (real-world use-case because I hit this limitation pretty hard when working with OpenComputers)

--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.