ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Classes | Variables
aworx::lib::monomem::detail Namespace Reference

Details of namespace aworx::lib::monomem.

Classes

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
 

Variables

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

Variable Documentation

◆ dummyBucket

ALIB_WARNINGS_RESTORE ALIB_API void* dummyBucket

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 = 61
staticconstexpr

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

Definition at line 59 of file hashtablebase.inl.