On 01/22/2013 11:21 AM, Gustavo Sverzut Barbieri wrote:
> right now we use 4 pointers per node (prev, next, cb, data), plus some
> information that due alignment should take an extra pointer-size
> (type, priority, delete_me). So 5 pointer-size at least, but on my
> machine (32 bits) it's 28 bytes or 7 pointers.
XOR next and prev pointers to save sizeof(node*) bytes. This creates a
debugging hell, but it's an awesome hack.
Leandro
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel