libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::default_capacity_policy Struct Reference

#include <mdbx.h++>

Public Types

enum  : size_t { extra_inplace_storage = 0, pettiness_threshold = 64, max_reserve = 65536 }
 

Static Public Member Functions

static MDBX_CXX11_CONSTEXPR size_t round (const size_t value)
 
static MDBX_CXX11_CONSTEXPR size_t advise (const size_t current, const size_t wanna)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : size_t
Enumerator
extra_inplace_storage 
pettiness_threshold 
max_reserve 

Member Function Documentation

◆ advise()

static MDBX_CXX11_CONSTEXPR size_t mdbx::default_capacity_policy::advise ( const size_t  current,
const size_t  wanna 
)
inlinestatic

◆ round()

static MDBX_CXX11_CONSTEXPR size_t mdbx::default_capacity_policy::round ( const size_t  value)
inlinestatic

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