aGrUM  0.17.2
a C++ library for (probabilistic) graphical models
smallObjectAllocator.cpp
Go to the documentation of this file.
1 
30 // ============================================================================
33 // ============================================================================
34 namespace gum {
35 
36 
37  /*
38  * @variable The default size of chunck of memory.
39  * These chuncks are pre-allocated memory space which are
40  * then split in small memory space of the size of a small object
41  */
43 
44  /*
45  * @variable The default maximal size under which an object is considered
46  * small. If an object size is over this limit, the normal new allocator is
47  * called.
48  */
50 
51 
52 } // namespace gum
53 
54 #ifdef GUM_NO_INLINE
56 #endif
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
static const size_t GUM_DEFAULT_MAX_OBJECT_SIZE
static const size_t GUM_DEFAULT_CHUNK_SIZE
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.
Definition: agrum.h:25
Copyright 2005-2020 Pierre-Henri WUILLEMIN () et Christophe GONZALES () info_at_agrum_dot_org.