lua-users home
lua-l archive

Re: Accessing String contents

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


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

AltStyle によって変換されたページ (->オリジナル) /