> I confirm branches are most costly. > Removing 1 not needed "if" gave me speedup of 5%.
do you mean that the 'if' was never evaluated, or that it always evaluated the same way, or that it was handled elsewhere? i'm stunned that a single 'if' was 5% of the execution time of your code. it might make more sense if your code was 20 'if' evaluations, all of which had empty bodies. s. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/