Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libc/string
On Mon, Apr 19, 2010 at 03:02:05AM +0000, Christos Zoulas wrote:
>> In that case use an explicit cast to the unsigned type. What you did is
>> penalize the code for no good reason.
>
> Any compiler these days knows how to do these micro-optimizations.
Furthermore, as swab() is fairly useless, its performance isn't
especially important anyway.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index