Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dtrifuno/quickphf

Rust implementation of the PTHash perfect hash function for static compile-time generated hash tables
https://github.com/dtrifuno/quickphf

hashing minimal-perfect-hash rust

Last synced: 3 months ago
JSON representation

Rust implementation of the PTHash perfect hash function for static compile-time generated hash tables

Awesome Lists containing this project

README

        

# QuickPHF

QuickPHF is a Rust implementation of the [PTHash](https://arxiv.org/abs/2104.10402) minimal perfect hash function algorithm.

It consists of two crates:

- [`quickphf`](https://github.com/dtrifuno/quickphf/tree/main/quickphf) - runtime code for static hash maps and hash sets
- [`quickphf_codegen`](https://github.com/dtrifuno/quickphf/tree/main/quickphf_codegen) - perfect hash function builder and code generator

## License

Licensed under any of:

- Apache License, Version 2.0, ([LICENSE-APACHE](https://raw.githubusercontent.com/dtrifuno/quickphf/main/LICENSE-APACHE) or )
- MIT license ([LICENSE-MIT](https://raw.githubusercontent.com/dtrifuno/quickphf/main/LICENSE-MIT) or )
- zlib License ([LICENSE-ZLIB](https://raw.githubusercontent.com/dtrifuno/quickphf/main/LICENSE-ZLIB) or )

by your choice.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be multi-licensed as above, without any additional terms or conditions.