Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C++ question (OT)

Author: Paul

Date: 15:57:41 01/21/01

Go up one level in this thread


On January 21, 2001 at 18:43:32, Heiner Marxen wrote:

>On January 21, 2001 at 17:20:11, Paul wrote:
>
>>Hmmm ... I didn't know BCB had alignment problems. I use int64's for hashing.
>>Haven't noticed a big speed penalty for that,
>
>You may have been just lucky ;-)

Well, that would be a first! I never get lucky ;)

>>I do want to change my GNU style movegen to the 0x88 one soon. Only
>>don't like the fact that ao the history array gets a lot bigger that way.
>
>At the cost of some instructions you can address it compactly by mapping
>the 0x88 indexes back to the compact values, like:
>
>#define map88(x)  (((x) & 07) | (((x)>>1) & 070))

Thank you very much!! I'll let it sink in for a while ... :)

Now I guess I'll *have* to convert to 0x88! Just hope that after converting
I won't find out that it didn't speed up my program at all ...

Paul



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.