Author: Reinhard Scharnagl
Date: 09:04:24 07/07/03
Go up one level in this thread
Hi Uri,
>I have 20,357,657 cases of calling the switch command.
>The average number of bits set is 1.27405
last mentionend small average will be most relevant.
In this case my first proposed SWITCH would be fine,
best with:
a) included zero case and break,
b) depending on compiler optimization casting
the switch expression into an unsigned char,
Reinhard.
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.