Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/distrib/utils/sysinst



David Laight <dsl%netbsd.org@localhost> 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.


-- 
Perry E. Metzger                perry%piermont.com@localhost



Home | Main Index | Thread Index | Old Index