Skip to content

Misreporting without repetition? #22

@qkcccc

Description

@qkcccc

Hello:
I do some test for this filter by golang:
example:

	cf := cuckoofilter.NewCuckooFilter(100000)
	for v := 0; v < 10000 ; v += 1 {
		res := cf.InsertUnique([]byte(string(v)))
		fmt.Println(cf.Count(), res)
	}

I generate between 0 and 10,000 elements and insertUnique to cuckoofilter, there is no repetition here. But the result is a lot of duplication and insertion failures.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions