Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: On Beowulf - long post

Author: Robert Hyatt

Date: 08:14:29 06/05/01

Go up one level in this thread


>
>Now see what i get in beowulf. Instead of that in 2001 dudes program
>better they program things out FOR EVERY PIECE.
>
>Even blackpawns and whitepawns are written out.
>
>Man such a student i would directly ship back.
>
>   "Please make the code more general student, if you multiply a 2048 x 2048
>    array you don't write out every multiplication either!".
>
>See here below the horror which i found in moves.c from beowulf project.
>
>How do you plan to let people learn from this code?
>
>They must learn to "write everything out"??
>
>Please use a few for loops, even in bitboards you can do that,
>or have you forgotten how loops work?

Depends on the purpose.  "unrolling" is a well-known way to speed up code.
Compact does not always equal fast.  Unrolling also eliminates some tests and
branches, which is also good.






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