maph 1.0.0 High-Performance Memory-Mapped Key-Value Database with O(1) Lookups

Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
maph::PerfectHashWithHash< Key > Struct Template Reference

Perfect hash that RETURNS BOTH hash and index This way we compute hash once and reuse it. More...

`#include <maph_fast.hpp>`

Inheritance diagram for maph::PerfectHashWithHash< Key >:
Collaboration diagram for maph::PerfectHashWithHash< Key >:

## Classes
struct | Result

## Public Member Functions
Result | operator() (const Key &key, size_t num_slots) const

## Detailed Description

template<typename Key>
struct maph::PerfectHashWithHash< Key >

Perfect hash that RETURNS BOTH hash and index This way we compute hash once and reuse it.

Definition at line 52 of file maph_fast.hpp.

## Class Documentation

## ◆ maph::PerfectHashWithHash::Result

struct maph::PerfectHashWithHash::Result

template<typename Key>
struct maph::PerfectHashWithHash< Key >::Result

Definition at line 53 of file maph_fast.hpp.

Collaboration diagram for maph::PerfectHashWithHash< Key >::Result:

Class Members
uint32_t | hash |
uint32_t | index |

## Member Function Documentation

## ◆ operator()()

template<typename Key >

Result maph::PerfectHashWithHash< Key >::operator() | ( | const Key & | key,
|  | size_t | num_slots
| ) |  | const
| inline

Definition at line 58 of file maph_fast.hpp.

The documentation for this struct was generated from the following file:

- include/maph/maph_fast.hpp