Author: Gian-Carlo Pascutto
Date: 05:51:29 04/16/02
Go up one level in this thread
On April 16, 2002 at 08:46:17, Ulrich Tuerke wrote: >On April 16, 2002 at 08:39:32, Gian-Carlo Pascutto wrote: > >>1) Would there be any advantage to my hash entries being 16 bytes instead of 14 >>bytes? I'm thinking of possible alignment issues. The fact that I can have more >>if they're only 14 bytes is irrelevant for me. > >The compiler will align structures anyway. I guess if you output >sizeof(hashentry) >then you'll see a 16, although you have explicitely declared only data items of >14 bytes in the structure. For gcc 2.95.3 on Linux, this is not the case. -- GCP
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.