Author: Andrew Wagner
Date: 16:03:34 02/12/04
Go up one level in this thread
>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.
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.