[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Performance development Lua 5.1 -> 5.3-rc
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 19 Dec 2014 09:47:33 -0200
> Any application that has its own copy of Lua 5.3 should take into
> consideration the ideal size for lua_Number and for lua_Integer. All
> it takes is one single line in 'luaconf.h';
It's the explanation starting at `@@ LUA_INT_INT`.
You can choose one of each:
The default is
So, it's two lines :-)
But you can define LUA_32BITS to get 32-bit integers and 'float' and
LUA_C89_NUMBERS to get 'long' and 'double, which was the traditional
combination before 5.3.