[erlang-questions] A bug? - bloom filters - and loadable BIFs

Steve Kirsch steve.kirsch@REDACTED
Thu Apr 30 10:26:01 CEST 2009

I've tried that and you still get about 100% storage overhead.

So what is the undocumented BIF? 

-----Original Message-----
From: Bjorn Gustavsson [mailto:bgustavsson@REDACTED] 
Sent: Thursday, April 30, 2009 12:14 AM
To: Steve Kirsch
Cc: Mikael Pettersson; Joe Armstrong; Erlang
Subject: Re: [erlang-questions] A bug? - bloom filters - and loadable BIFs

On Wed, Apr 29, 2009 at 8:09 PM, Steve Kirsch <steve.kirsch@REDACTED> wrote:
> Great, that explains the crash.
> All your caveats are duly noted. We promise to be careful.
> So now can you tell us how to use these functions that are already 
> there?

Maybe you should first try the suggestion by Paulo Almeida above? That is, use an array (as provided by the 'array' module) to store big integers in.
For instance, each entry in the array could could store an integer that can hold 256 bits. That would most definitely be an improvement over using binaries and might work good enough to work in your application.

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list