On Thu, Dec 11, 2008 at 11:54 AM, Enlightenment SVN
<[EMAIL PROTECTED]> wrote:
> Log:
>  Manipulating NULL iterator should be concidered as a defined behaviour as it
>  give the possibility to write small code like :

I disagree with that, it's eina_hash fault to return NULL if it is
empty. It's better to return an iterator that does the number of
iterations, in this case none...   Iterators/accessors are not heavy
or costly, so this is not even worth as an optimization.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to