Subject: Re: CVS commit: src/distrib/utils/sysinst
To: Perry E. Metzger <perry@piermont.com>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 07/19/2003 01:12:34
"Perry E. Metzger" wrote:

> David Laight <dsl@netbsd.org> writes:
> > Change a lot of 'if (strlen(x) == 0)' to 'if (x[0] === 0)'.
> 
> Why bother? Was this performance critical code? The former is clearer
> to the reader.

I guess from a space POV the later takes up less room, which is a
consideration.  Probably not much though, granted...

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/