Computer Chess Club Archives




Subject: Re: Java vs. C++ Chess Programming Question

Author: Dann Corbit

Date: 19:22:09 05/15/01

Go up one level in this thread

On May 15, 2001 at 21:14:27, Peter McKenzie wrote:

>Object creation is slow!
>You should avoid creating any objects in your search and your program will speed
>up hugely.  I think you'll find that even OO style chess programs written in C++
>avoid creating objects while searching.

Here is one that uses STL and creates them on the fly:

If you change the default depth from 3 to 4 ply, it takes 18 seconds time and
390 megs of ram to give its 4 ply calculated response to:

It is (nevertheless) an interesting chess implementation.

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.