Author: Tom Kerrigan
Date: 00:03:18 11/30/98
Go up one level in this thread
On November 30, 1998 at 02:07:26, David Blackman wrote: >If it fits in 8 bits, use an 8 bit data type. You might want to hide >it in a typedef in case you have to change the type later on. >Reducing memory bandwidth and fitting more useful information in cache >is a big win on modern CPUs. No. It takes time to divine 8 bits from the 32 bits that most modern CPUs work with. With small arrays, using 32 bit elements will be a performance win. How much depends on how much the arrays are accessed, though... -Tom
This page took 0.01 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.