Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Can a Programming Language Cause Engines to be Slow?

Author: David Rasmussen

Date: 10:46:23 11/16/02

Go up one level in this thread


On November 15, 2002 at 17:49:11, Robert Hyatt wrote:

>
>
>I don't have a snippet as the old versions of Crafty were lost several years
>ago.  But just filling in the from/to/etc fields was slow compared to the
>shift/or approach I use today.
>
>Another bad problem is that bit-fields were poorly thought out by the ANSI
>committee (as were many things poorly thought out).  There is no specification
>for which end of the word they start from, which is a problem...

I do my own move layout for the sake of portability, freeness of endianess and
the possility of making domain specific tunings. Speed isn't a reason for me.
First of all, the speed difference haven't been that great at all, secondly it
varies wildy with different compilers (which of course is a reason _not_ to use
bitfields), but most importantly, whether it takes x or 10x doesn't affect my
NPS at noticably at all.

/David



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.