Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: size of C++ class question...

Author: James Long

Date: 18:25:45 02/14/99

Go up one level in this thread



Thanks for the replies...

I created a UNION similiar to the one posted
by Bo.  The Move class is now 8 bytes
(4 for the BaseMove struct, 4 for the score).
The changes were pretty easy; almost all were
done in one header file (aren't member functions
great?).

Everything seems to work okay... I'll run some
tests later to confirm and see how much it
helped.

Again, thanks for the kind replies.

--
James



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.