[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT2 and lua_dump()
- From: Sean Conner <sean@...>
- Date: Tue, 2 Mar 2010 16:19:45 -0500
It was thus said that the Great Joshua Jensen once stated:
> (Already done... so I guess I should add that my numbers are WITH an
> endianness check... that makes core Lua even faster.)
>
> And for completeness, I've added LuaJIT2 numbers:
>
> lua.exe load asciidata.lua - 1.99 seconds
> lua.exe load asciidata-luasrcdiet.lua - 1.98 seconds
> lua.exe load binarydata.lua - 0.07 seconds
>
> luajit2.exe load asciidata.lua - 1.26 seconds
> luajit2.exe load asciidata-luasrcdiet.lua - 1.26 seconds
My guess is that your Lua file is mostly numeric data. I know that the
80M Lua file I have is mostly strings, which may explain why the binary
version doesn't have the compression yours does.
-spc (I also suspect you weren't hit with this bug)
[1] http://www.lua.org/bugs.html#5.1.4-6
- References:
- Re: LuaJIT2 and lua_dump(), Joshua Jensen
- Re: LuaJIT2 and lua_dump(), Mike Pall
- Re: LuaJIT2 and lua_dump(), Joshua Jensen
- Re: LuaJIT2 and lua_dump(), Shmuel Zeigerman
- Re: LuaJIT2 and lua_dump(), Joshua Jensen
- Re: LuaJIT2 and lua_dump(), Rob Kendrick
- Re: LuaJIT2 and lua_dump(), Joshua Jensen
- Re: LuaJIT2 and lua_dump(), Rob Kendrick
- Re: LuaJIT2 and lua_dump(), Luiz Henrique de Figueiredo
- Re: LuaJIT2 and lua_dump(), Joshua Jensen