Author: Scott Gasch
Date: 10:14:59 07/21/04
Go up one level in this thread
>It is an extremely bad idea, because your struct (and worse, single variables >within the struct) could now lie across multiple cache lines. > >anthony Not to mention that some architectures (not x86, though) raise exceptions when you access misaligned data. That means if you have a 4 byte int it _must_ be at a memory address that is a multiple of 4 bytes (i.e. 0, 4, 8 ...) Scott
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.