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
dholl...@netbsd.org

Reply via email to