On Tue, Jan 5, 2010 at 7:19 AM, Ketil Malde
<ketil+hask...@malde.org<ketil%2bhask...@malde.org>
> wrote:

> 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.
>

I'll look into it. Do you have a simple repro?

So: is anybody successfully using Bloom filters on 64 bit computers?
>

I developed all that code on a 64-bit box, but I haven't had occasion to use
it recently.

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.
>

A CInt is 32 bits on the only 64-bit architecture that anyone really uses
(x86_64) :-)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to