On Thu, 24 Dec 2009, Brett Nash wrote:

>
>>> Also, doing sizeof() is a compiler directive so does not incur any
>>> performance hits...plus it matches the rest of EFL.
>>
>> using a macro does not involved any performance hit too as PATH_MAX
>> is directly replaced by its value before the compilation.
>
> Yes, but it's a damn big performance hit when someone changes one size,
> but not the other and the whole thing falls over in a steaming
> heap... ;-)

if someone changes the size of the buffer without looking how the buffer 
is used, it should stop coding and try to be cabinetmaker of fisherman

Vincent

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to