Author: Walter Faxon
Date: 00:01:22 12/23/02
Go up one level in this thread
Regarding LSB_32x():
Silly me, the NOTE can be implemented in straight C (if the code were not an
inlined function) without an additional test, by just doing:
if (bit == 0) break;
since the value of 'bit' was just changed and the zero flag already set.
Oh, well; I'm tired, too. But that means that LSB_32x() would work just fine as
a macro. (In fact, in my own timings of C source, I often find macro forms to
be faster than inlined functions.)
-- Walter
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.