Commit Graph

12 Commits

Author SHA1 Message Date
Phyks b73b5692d3 Use capacity / error_rate syntax 2014-10-27 22:14:45 +01:00
Jason Davies 503ae1afdb Round *m* up to nearest multiple of 32.
Fixes #9.
2014-02-28 15:39:48 +00:00
Jason Davies 2529639ace Merge branch 'items_estimate' of https://github.com/eugeneware/bloomfilter.js 2013-06-13 09:13:02 +01:00
Eugene Ware c9bbcaba98 added support for estimating the number of items in the filter 2013-06-13 14:53:38 +10:00
Jason Davies 762d969a94 Merge remote-tracking branch 'gleenn/master' into release 2012-07-09 10:56:26 +01:00
Glenn 5964e27e05 Adding support for number types 2012-07-08 22:17:52 -07:00
Jason Davies fb2ab0c6db Better test. 2011-12-08 18:47:23 +00:00
Jason Davies 19060d93fe More mixing added to FNV-1a.
Lack of sufficient mixing was causing "wtf" to hash poorly in the second
hash function, and only map to one location instead of ten.
2011-12-08 18:43:12 +00:00
Jason Davies 7d362348c6 Add some more fnv_1a tests. 2011-12-08 01:02:45 +00:00
Jason Davies ceb93e3a88 Better UTF-8 hashing, and more tests. 2011-12-07 11:42:48 +00:00
Jason Davies 287b266bab Add another test. 2011-09-05 13:48:44 +01:00
Jason Davies 1a2a9a0607 Use vows for testing. 2011-09-05 13:44:26 +01:00