lua-users home
lua-l archive

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


Is there a special reason why, in luaconf.h,
LUAI_USER_ALIGNMENT_T is #defined as

   union { double u; void *s; long l; }

rather than as

   union { LUA_NUMBER u; void *s; long l; }

? For the ARM it makes sense to avoid doubles,
and I do not want unnecessary loads and stores
in the VM.

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/