Probabilistic Data Structures in Go

(antonz.org)

3 points | by chmaynard 5 hours ago ago

1 comments

  • chmaynard 4 hours ago 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?