[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Is it possible to 'precompile' a module in one luaState and quickly move it over to another? (keywords multiple interpreters, precompile)
- From: "Bronner, Gregory" <gregory.bronner@...>
- Date: Tue, 13 May 2008 13:08:36 -0400
List,
Thank you for the helpful advice. By removing modules one by one from my
require chain, I eventually figured out that the DataDumper module (from
the wiki) collects a lot of information about every C function defined
in lua.
Because I was using a large SWIG-generated interface library, there were
many thousands of such functions. The result was that the loading of
that module was extremely slow.
I rewrote the module to only use the 'fastmode' version, and the
importing time dropped by 99%, which is sufficient for my needs.
Thanks
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
--------
IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.