Hacker News new | ask | show | jobs
by chmaynard 19 days ago
From the Bloom filter example:

    filter.Contains([]byte("alice")) // true
    filter.Contains([]byte("carol")) // false (or, rarely, true)
Seems like the comments should be:

    filter.Contains([]byte("alice")) // true (or, rarely, false)
    filter.Contains([]byte("carol")) // false
Am I missing something?