bloomy icon indicating copy to clipboard operation
bloomy copied to clipboard

PHP extension implementing Bloom filters

Results 6 bloomy issues
Sort by recently updated
recently updated
newest added

```php $bf = new BloomFilter(1, 0.01); $key='foo'; $bf->add($key); for ($i=0; $ihas($key.$i)); // bool(true) $bf->add($key.$i); var_dump($bf->has($key.$i)); // bool(true) } var_dump($bf->has($key)); // bool(true) ``` The first parameter is the number of nodes...

```php echo number_format(memory_get_usage()).PHP_EOL; $bf = new BloomFilter(100, 0.01,1); $url='foo'; echo(print_r(strlen($url), 1).'#'.PHP_EOL); $bf->add($url); for ($i=0; $iadd($url.$i); } echo PHP_EOL; var_dump($bf->has($url.'aaa')); // bool(true) ?????????????? echo PHP_EOL; echo (print_r($bf->getInfo(), 1).PHP_EOL); echo number_format(memory_get_usage()).PHP_EOL; sleep(3);...

I'm trying to get Bloomy extension to work on my system. Until now it ran fine on squeeze with php 5.3, but on a new system there seems to be...

I am not sure whether this is a known limitation but I don't see why this should not work. Currently unserializing empty `BloomFilter` objects errors: **PHP 5** ``` Notice: unserialize():...

This is a weird bug I encountered. When having a script that contains an integer overflow, unserializing `BloomFilter` objects errors: **PHP 5** ``` Notice: unserialize(): Error at offset 24 of...