Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How many program have 2 function of makemove for white and for black?

Author: Uri Blass

Date: 12:02:28 04/15/03

Go up one level in this thread


On April 15, 2003 at 14:30:16, Uri Blass wrote:

>On April 15, 2003 at 14:05:23, Jaime Benito de Valle Ruiz wrote:
>
>>Maybe I'm saying something stupid, but having extra functions might reduce the
>>efectiveness of the cache. My previous chess program had 4 functions as well,
>>and wasn't really a big improvement, it was messier and extra work for me, so
>>I'm using two again.
>>I don't think the compiler is going to do a worse job anyway. Try checking your
>>complied assembly code for optimizations, it works for me.
>>
>>Jaime
>
>I do not know much about the cache and I also know nothing about asembler.
>I know from experience that there were cases when extra functions
>helped movei to be faster.
>
>Uri

I can add that it is possible that this trick work until
some limit and the question is if there is a way to know
the limit not by try and error.

Uri



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.