Re: Accessing String contents
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Accessing String contents
 
- From: Geoff Leyland <geoff_leyland@...>
 
- Date: 2012年6月21日 20:50:40 +1200
 
On 21/06/2012, at 8:41 PM, steve donovan wrote:
> I should know better to make assertions about performance when LuaJIT
> is available ;)
> 
>> $ luajit pokus.lua
>> Standard 0.004261
>> Modified 0.004928
> 
> Although you need to push the numbers of your test up to get something
> meaningful here.
`luajit -jdump` shows they generate the same code for the loop, though the header is more complex*.
*I did this for slightly different code