lua-users home
lua-l archive

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

Thanks for that! Truly there is nothing new under the sun (or the moon for
that matter!).

Your code has given me some useful pointers, including that my copying from
the stack to the constants array in the prototype may be over-complicated. I
was paranoid about not screwing up the memory management/garbage collection
and was worried about a simple copy like this:


Is this really safe? Even for a string? How does the garbage collector know
about this reference?

-----Original Message-----
Luiz Henrique de Figueiredo Sent: 03 February 2009 20:22

>>If you're interested in serializing via Lua bytecode, see this:

Attachment: smime.p7s
Description: S/MIME cryptographic signature