lua-users home
lua-l archive

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


Can you say in simple words what "NaN packing of TValues" means?

2011/2/23 Yura Sokolov <funny.falcon@gmail.com>:
> I just made patch for NaN packing of TValue on x86 machines (as in luajit2).
>
> http://lua-users.org/files/wiki_insecure/power_patches/5.1/pack_value.patch
>
> For my test script memory consumption reduced from 28Mb to 21Mb
> and perfomance improved by 3.5-5%.
>
> (github branch https://github.com/funny-falcon/lua/tree/pack_value )
>
>
> Sokolov Yura aka funny_falcon
>
>