cloudflare / cloudflare/entropy-map

Is it necessary to store and check `keys`? For collisions?

Open
#4 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
44
Forks
6
Avg merge
3d 15h
Merged PRs (30d)
2

Description

I want to try out `mphf`, but I don't understand how it handles collisions. Are collisions for never seen keys can happen? Maybe add this info to the `mphf` docs somewhere.

https://github.com/cloudflare/entropy-map/blob/0943c6d5d583b6662d3da10749443d2f0ebef871/src/map_with_dict.rs#L114-L120

What is this `keys` check for?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.