[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] DFA space savings

From: Trevor Morris
Subject: Re: [gnugo-devel] DFA space savings
Date: Thu, 07 Nov 2002 13:14:32 -0500

>> >Out of interest, did you measure speed and space-saving by just making 
>> >next[] an array
>> >of short rather than array of int ?
>> No.
>> My real goal is to try to use incremental offsets and cram each next into a 
>> single unsigned char.
>Yeah, but you can use a short today and a char tomorrow. That would save all
>the extra code to split longs or combine chars.

No, I did not try shorts at all.  You have a good point that this would be easy
to try.  The only reason I didn't was for portability concerns....


reply via email to

[Prev in Thread] Current Thread [Next in Thread]