lua-users home
lua-l archive

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


Am 21.03.2014 21:44 schröbte Luiz Henrique de Figueiredo:
Lua 5.3.0 (work2) is now available for testing at
	http://www.lua.org/work/lua-5.3.0-work2.tar.gz


Enjoy. All feedback welcome. Thanks.
--lhf


A very minor thing, but putting `hash` before `len` and `hnext` in the definition of `TString` saves 8 bytes per string on my machine where `sizeof( size_t) == 8` and `sizeof( unsigned int ) == 4` (Linux x86_64). This should be safe for all architectures where `sizeof( size_t ) >= sizeof( unsigned int )`, and I don't know if there are machines out there where this isn't true ...

Philipp