Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: .Net engine

Author: Slater Wold

Date: 22:07:00 02/12/04

Go up one level in this thread


On February 12, 2004 at 19:15:09, Russell Reagan wrote:

>On February 12, 2004 at 19:03:34, Andrew Wagner wrote:
>
>>
>>>Generally the data that is the same size as the cpu registers is the most
>>>efficient. So on a 32-bit machine, 32-bit variables should be the fastest to
>>>work with. However, that is not the only factor. You have to take into account
>>>things like the cache. Usually working with 8-bit data on a 32-bit cpu might be
>>>a little slower than working with 32-bit data, but if using 8-bit data means
>>>that all of your data and code fits into the cache, then using 8-bit data can be
>>>significantly faster.
>>
>>Well, here on my laptop i'm working with a celeron 2.4 gHz cpu, which i'm pretty
>>sure doesn't have a cache. So I may as well use integers, i suppose. My desktop
>>has a full P4 though, so I may have to investigate some way to definet it
>>differently depending on the computer i'm on.
>
>I may be wrong (or this may have changed in recent years), but I think the
>Celeron lacks the L2 cache, but still has the L1 cache. The L1 cache is usually
>pretty small though, especially on these kind of Intel chips.

You are correct.



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.