Computer Chess Club Archives


Search

Terms

Messages

Subject: simple question about bitboards

Author: Uri Blass

Date: 02:35:10 03/27/03


If I want to get rid of the least significant 1 of a BitBoard
I do for a bitboard a
a&=a-1

What is the fastest way to get rid of the most significant 1 of
a bitboard?

Is it slower than a&=a-1 and how much slower?
(it cannot be faster otherwise popcount of crafty could use it).

Uri



This page took 0.01 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.