Author: Ralf Elvsén
Date: 02:23:57 07/14/01
Go up one level in this thread
On July 14, 2001 at 01:59:31, TEERAPONG TOVIRAT wrote: >Hi, > >I've been trying to reduce my hashtable size,so that I can gain >more entries. At first,I try to pack three structure tag into one >integer it looks like this... > > new integer = (flag<<a)|(depth<<b)|(value) I do it like this: new integer = (flag<<a)|(depth<<b)|(value & 0xffff) (assuming value fits in 16 bits) > >It fails because value is signed int the rest are unsigned. >Could anyone solve the problem? > >Thanks in advance, >Teerapong
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.