Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: a question about efficient way to store information

Author: Uri Blass

Date: 08:50:38 04/13/03

Go up one level in this thread


On April 13, 2003 at 10:55:45, Robert Hyatt wrote:

>On April 13, 2003 at 08:57:07, Uri Blass wrote:
>
>>Movei of today has an array with the number of the white pawns in every file.
>>
>>I think that it is a waste of space to use array of 8 integers and it may be
>>better to use one integer to store the same information.
>
>Use 8 chars.  That will probably be faster although you should test.  Going
>to a smaller number of bits per value can save space but cost overall...

Thanks for the advice.
I see that you are right.

Uri



This page took 0.21 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.