This is a treasure trove! Thanks for pointing that out! I will add these to my comparison (with credit back to original inventor) and i will share it once its done! It will be interesting to see how these perform with modern compilers and modern processors.Harald wrote: ↑Fri Aug 24, 2007 10:52 pm Bitboard methods compared
Hi
One year ago I did some tests with different bitboards. The postings are
lost but I will repost my results here, copying much of my old texts.
A lot of new methods for generating attack bitboards were discussed.
It was hard to catch up with all the new ideas. But I was very interested and today
I can proudly announce, that I implemented and tested different bitboard attack
generators.
This is the result:All methods have the same output. Therefore I believe they searched the sameCode: Select all
+----------------------------+-----------------------+--------------+-----------+ | Name | Inventor or Supporter | Table Size | Test-Time | +----------------------------+-----------------------+--------------+-----------+ | Rotated Bitboards (naive) | Robert Hyatt | 77.2 KByte | 87.78 s | | Rotated Bitboards (aligned)| ? | 35.0 KByte | 86.65 s | | Rotated Bitboards (switch) | (Harald Lüßen?) | 14.9 KByte | 88.91 s | | Rotated Indices | Alessandro Damiani | 128.3 KByte | 78.93 s | | Exploding Bitboards | Harald Lüßen | 3.5 KByte | 101.79 s | | Magic Mult. (Kinderg.) | Gerd Isenberg | 9.7 KByte | 91.87 s | | Magic M. (Kinderg.) 32 bit | Gerd Isenberg | 9.7 KByte | 81.37 s | | Sherwin Index | Michael Sherwin | 1402.4 KByte | 90.03 s | | Pradu Minimize Magic | Pradyumna Kannan | 844.0 KByte | 81.42 s | | Pradu Perfect Magic Hash | and | 627.4 KByte | 82.09 s | | Pradu Big | Lasse Hansen | 2306.0 KByte | 82.33 s | | Kogge-Stone | Steffan Westcott | 0.0 KByte | 99.32 s | | Simple Shift | -- | 0.0 KByte | 110.25 s | | Naive Shift | -- | 0.0 KByte | 111.69 s | +----------------------------+-----------------------+--------------+-----------+
tree and there is no error in the implementation. The positions and output are:
All implementations are available if you request it.
Harald

Ah I just saw that the source is broken like Bitboard( const std::string &s ); what a shame

Do you still have the 15 year old sourcecode somehow?