On Jul 24, 2009, at 2:41 PM, Thomas B. wrote:
>
> 2. What is the walkaround? How to check if a value has already  
> exceeded
> the capacity of Fixnum, and how to truncate it manually?


Something like this might work...

Fixnum_max = (2**30 - 1)

def hash
   compute_bignum % Fixnum_max
end

But I think it would make sense to avoid generating bignums
in the first place.

Gary Wright