Skip to content

Commit

Permalink
Improve package doc
Browse files Browse the repository at this point in the history
  • Loading branch information
korthaj committed Jun 1, 2017
1 parent 594dd20 commit 68481d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
// a member”. Only false positives can occur: an element that has been added
// to the filter will always be identified as ”likely member”.
//
// The probabilities of different outcomes of a membership test at
// a false-positives rate of 1/100 are:
//
// Test(s) true false
// --------------------------------------
// s has been added 1 0
// s has not been added 0.01 0.99
//
// Elements can be added, but not removed. With more elements in the filter,
// the probability of false positives increases.
//
Expand Down

0 comments on commit 68481d1

Please sign in to comment.