[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: request feature of luajit2 or lanes
- From: Irayo <irayo.lt@...>
- Date: Thu, 2 Dec 2010 17:55:08 -0600
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?