Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Object files and code speed

Author: Eiko Bleicher

Date: 11:57:11 10/23/03

Go up one level in this thread


It shouldn't be that much of a difference. What might be "expensive" is if you
now make function calls more often. Also, referencing between different objects
can slow it down a little bit.

But a good design is worth more than 3 % speedup :-))

Eiko

>I was aiming to speed up my over-all nodes per second.  Previously I had one
>object that did make/unmake move, evaluation, and some general board
>maintenance.  I broke the object into three, one for each respective portion.
>The new version seems to be about 3% slower.  The original object was huge, so I
>assumed that breaking it down would make it quicker, not slower, especially with
>relevant functions grouped together.  Am I incorrect to assume that smaller
>objects, when logically organized, are faster?  Or should everything be together
>like before?
>
>Matt



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.