Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess engine speed up tricks

Author: Dann Corbit

Date: 17:59:50 02/15/05

Go up one level in this thread


On February 15, 2005 at 16:34:57, Anthony Cozzie wrote:

>On February 15, 2005 at 15:13:27, Eric Oldre wrote:
>
>>On February 15, 2005 at 12:59:42, Michel Langeveld wrote:
>>
>>>* include everything in one big file instead of multiple files
>>
>>Does this really make a significant difference? Currently Latista
>>is broken up into 27 different .cpp files each of which are compiled
>>separately and then linked.
>>
>>I know it's impossible to predict the exact gains to be had by
>>including each of these files in one big file. But do people think
>>there is a significant chance I'll see a measurable improvement by doing so?
>>
>>Thanks,
>>Eric
>
>The reason to do it is that GCC can't do "global" optimizations between files.

And even with compilers that can do global optimizations, they seem to do better
when you do the cheezy include file trick.




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.