lua-users home
lua-l archive

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


On Dec 2, 2010, at 11:37 AM, Benoit Germain wrote:

>> -----Original Message-----
>> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org]
>> On Behalf Of Benoit Germain
>> Sent: Thursday, December 02, 2010 6:29 PM
>> To: Lua mailing list
>> Subject: RE: request feature of luajit2 or lanes
>> 
>> 
>> The string is compiled directly in the lane's VM.
> 
> And I don't even have to transfer the string in the target VM first, since all I need to compile it is a C pointer.
> 

This seems like it would be somewhat inefficient if you are creating tens/hundreds/thousands of lanes (over time) that run the same function.  Wouldn't it be recompiled over and over again?