ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::monomem::detail Namespace Reference

Description:

Details of namespace alib::monomem.

Type Index:

struct  HashMapAccess
 
struct  HashSetAccess
 
struct  HashTableBase
 
struct  HashTableElementCached
 
struct  HashTableElementType
 
struct  HashTableElementUncached
 
struct  HashTableRecycler
 
struct  ListElement
 
struct  ListRecycler
 
struct  RecyclerPrivate
 
struct  RecyclerPSBase
 
struct  RecyclerShared
 
struct  RecyclerVoid
 
struct  StdContainerMABase
 
struct  StringTreeBase
 

Variable Index:

ALIB_WARNINGS_RESTORE ALIB_API void * dummyBucket
 
ALIB_WARNINGS_ALLOW_UNSAFE_BUFFER_USAGE ALIB_API const uinteger primeNumbers [primeTableSize]
 
static constexpr int primeTableSize = 58
 

Variable Details:

◆ dummyBucket

ALIB_WARNINGS_RESTORE ALIB_API void* dummyBucket
extern

A dummy bucket used for nulled hash tables to avoid otherwise necessary checks.

◆ primeNumbers

Table of prime numbers. The effective bucket size is chosen to be the first value found in this table that is equal or higher than the requested size.

◆ primeTableSize

constexpr int primeTableSize = 58
staticconstexpr

The size of the static table of prime numbers. Depends on the platform.

Definition at line 59 of file hashtablebase.inl.