diff options
| author | Dan Engelbrecht <[email protected]> | 2023-12-04 08:37:05 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-12-04 14:37:05 +0100 |
| commit | 8269e0616cf4333fd1007ccd8a7b1dac09743e11 (patch) | |
| tree | 7f2e974acb09b66cd556ea0d43c62281aa73941b /src/zenstore/filecas.h | |
| parent | memory usage estimation for memcached entries (#586) (diff) | |
| download | zen-8269e0616cf4333fd1007ccd8a7b1dac09743e11.tar.xz zen-8269e0616cf4333fd1007ccd8a7b1dac09743e11.zip | |
reserve vectors in gcv2 upfront / load factor for robin_map (#582)
* reserve vectors in gcv2 upfront
* set max load factor for robin_map indexes to reduce memory usage
* set min load factor for robin_map indexes to allow them to shrink
Diffstat (limited to 'src/zenstore/filecas.h')
| -rw-r--r-- | src/zenstore/filecas.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenstore/filecas.h b/src/zenstore/filecas.h index cb1347580..70cd4ef5a 100644 --- a/src/zenstore/filecas.h +++ b/src/zenstore/filecas.h @@ -16,6 +16,10 @@ #include <atomic> #include <functional> +ZEN_THIRD_PARTY_INCLUDES_START +#include <tsl/robin_map.h> +ZEN_THIRD_PARTY_INCLUDES_END + namespace zen { class BasicFile; |