Skip to content

Commit b6468bf

Browse files
committed
Edited ch12.asciidoc with Atlas code editor
1 parent e879b12 commit b6468bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ch12.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ Let's create a Bloom filter with two items, "hello world" and "goodbye", using t
6565
----
6666
include::code-ch12/examples.py[tag=example2]
6767
----
68+
69+
<1> We are creating a filter for two items here, but this can be extended to many more.
70+
6871
<<ten_bit_bloom_filter_with_two_elements>> shows what this looks like conceptually.
6972

7073
[[ten_bit_bloom_filter_with_two_elements]]
7174
.10-bit Bloom filter with two elements
7275
image::images/prbc_1202.png[Two Item Bloom filter]
7376

74-
<1> We are creating a filter for two items here, but this can be extended to many more.
75-
7677
If the space of all possible items is 50, 10 items on average will make it through this filter instead of the 5 when we only had 1 item of interest, because 2 buckets are returned, not 1.((("", startref="BFpurpose12")))
7778

7879
include::code-ch12/answers.py[tag=exercise1,indent=0]

0 commit comments

Comments
 (0)