Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Move generation question for the big boys

Author: Bruce Moreland

Date: 16:38:39 09/15/01

Go up one level in this thread


On September 15, 2001 at 19:05:23, Vincent Diepeveen wrote:

>But in general it matters so instead of wasting time figuring out
>when to optimize and when not, i always go for the optimizing with
>pointers!

The reason I got involved is that you made it seem like an obvious thing.  It
isn't always bad to index.

Back in 1989 I sat in a conference room and listened to the Microsoft C guys
tell us how you could now write array indexing code without worrying about it.

This was not strictly true, but things did get a lot better.

>I remember some years ago i had diep like nearly 10% faster when i mixed
>chars with 32 bits integers. that's hell faster still today at all processors,
>but i simply rewrote everything to integers and i am more happy about it
>because i don't need to remember now whether something is 8 bits or 32 bits!

I agree with this.  I think you are in better shape if you try to confine math
operations to "natural" types such as "int" and "unsigned".

bruce



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.