Hi,

On Tuesday, January 22, 2013, Leandro Pereira wrote:

> 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


Aren't we adding too complex code that it's not that worth it, maybe? :-/

-- Ulisses



>
> ------------------------------------------------------------------------------
> 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] <javascript:;>
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>


-- 
Ulisses Furquim
ProFUSION embedded systems
http://profusion.mobi
Mobile: +55 19 9250 0942
Skype: ulissesffs
------------------------------------------------------------------------------
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

Reply via email to