On Tue, 2010-01-05 at 16:19 +0100, Ketil Malde wrote: > Hi, > > I've previously used Bloom filters on 32-bit Linux with some success. > However, after upgrading to 64 bit, my Bloom filter applications crash > or misbehave in random ways. > > So: is anybody successfully using Bloom filters on 64 bit computers? > > Although I'm not clear on why it would cause crashes (SEGV, infinite > looping, etc), my prime suspect is the hashing function used. This is > from C and returns a uint32, but it is imported to return a CInt, which > I suspect is 64 bits. >
On 64-bits Int can be either 32 or 64-bit. In theory it can be anything. It should use Data.Word.Word32 Regards _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe