lua-users home
lua-l archive

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


On 7/23/07, Stefan Sandberg <keffo.sandberg@gmail.com> wrote:
A friend wrote this a while ago, might help illustrate how the cache
works, and why alignment is important.

http://cg.andersjakobnilsson.se/cache.php



Edwin Eyan Moragas wrote:
> hi list,
>
> i was looking at the source and i found this in luaconf.h:
>
> #define LUAI_USER_ALIGNMENT_T union { double u; void *s; long l; }
>
>
> i really don't understand the term 'alignment' as of yet.
> tried looking for some kind of explanation of this in the net
> to no avail.
>
> anybody willing to explain this? links for resources would
> also be greatly appreciated.
>
> thank you.




big thanks to all who replied. it got me started. :-)

--
edwin eyan moragas
aspiring programmer
garnet:jasmin:beryllium:gluon::90-12264
http://www.eyan.org/