Skip to content

Commit

Permalink
Make bloom filters simpler
Browse files Browse the repository at this point in the history
These did not work before, and had some unnecessary complexity.

Now the filters use only one hashing function, no bignum arithmetic, and gets the additional bit positions by repeatedly hashing the result of prior hash.

Since we're not concerned about crypto hashing here, this should be a win.

External interfaces unchanged.
  • Loading branch information
krl committed Apr 7, 2015
1 parent 07d9cdb commit 3d8e96a
Show file tree
Hide file tree
Showing 10 changed files with 355 additions and 46 deletions.
12 changes: 8 additions & 4 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions Godeps/_workspace/src/github.com/mtchavez/jenkins/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Godeps/_workspace/src/github.com/mtchavez/jenkins/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions Godeps/_workspace/src/github.com/mtchavez/jenkins/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

101 changes: 101 additions & 0 deletions Godeps/_workspace/src/github.com/mtchavez/jenkins/jenkins_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3d8e96a

Please sign in to comment.