On Thu, Dec 06, 2012 at 11:02:26AM -0200, Gustavo Sverzut Barbieri wrote:
> I disagree here, given that we never use the first operand as ! in any
> of our checks, just yes/no, there is no harm. The benefit is reducing
> the number of calls to test binary and also the resulting code size as
> it's smaller.

For any sane implement of sh, test is builtin. So at most it avoids a
bunch of forks. Side note, the "x$foo" usage *is* obsolete and only for
certain brain dead versions that have more issues already *cough*
Solaris /bin/sh *cough*.

Joerg

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to