[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LUAI_USER_ALIGNMENT_T
- From: Gavin Wraith <gavin@...>
- Date: Wed, 02 Nov 2005 17:10:09 GMT
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/