[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Storing state information (was Re: Ah, those uninitiated people...)
- From: Mike Pall <mikelu-1001@...>
- Date: Fri, 15 Jan 2010 14:52:13 +0100
Peter Sommerfeld wrote:
> Understood. But my question aims to the normal use of closures
> too, not necessarily within loops. Of course, pushing the closure
> into the heap cannot be avoided but what's about the access.
> Is there a remarkable difference between Lua 5.1 and JIT-2?
Well, there should be a remarkable difference in speed in general.
But this is very dependent on what your application does and how
it accesses objects. There's no simple generic advice I can offer.
I suggest you try to benchmark your code with the different VMs
and then you'll see what works best.
--Mike
- References:
- Re: Ah, those uninitiated people..., Tony Finch
- Re: Ah, those uninitiated people..., David Given
- Re: Ah, those uninitiated people..., Wesley Smith
- Re: Ah, those uninitiated people..., Sean Conner
- Re: Ah, those uninitiated people..., Mark Hamburg
- Storing state information (was Re: Ah, those uninitiated people...), Mark Hamburg
- Re: Storing state information (was Re: Ah, those uninitiated people...), Mike Pall
- Re: Storing state information (was Re: Ah, those uninitiated people...), Peter Sommerfeld
- Re: Storing state information (was Re: Ah, those uninitiated people...), Mike Pall
- Re: Storing state information (was Re: Ah, those uninitiated people...), Peter Sommerfeld