#include <cuckoohash_util.hh>
Thrown when an automatic expansion is triggered, but the load factor of the table is below a minimum threshold, which can be set by the cuckoohash_map::minimum_load_factor method. This can happen if the hash function does not properly distribute keys, or for certain adversarial workloads.
◆ load_factor_too_low()
libcuckoo::load_factor_too_low::load_factor_too_low |
( |
const double |
lf | ) |
|
|
inlinenoexcept |
Constructor
- Parameters
-
lf | the load factor of the table when the exception was thrown |
◆ load_factor()
double libcuckoo::load_factor_too_low::load_factor |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- the load factor of the table when the exception was thrown
◆ what()
virtual const char* libcuckoo::load_factor_too_low::what |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
- Returns
- a descriptive error message
The documentation for this class was generated from the following file: