void * syten::le_malloc | ( | std::size_t const | size, |
std::size_t const | alignment = 64 |
||
) |
Allocates a region of heap memory at least size
bytes large, aligned to alignment
boundary in a special pool designed for eternal small objects (e.g. reps).
size | minimal number of bytes to allocate |
alignment | alignment requirement |
p
s.t. p % alignment == 0
and p[i]
is valid for all i > -1 ∧ i < size
Referenced by syten::EternalAllocator< Type >::allocate(), syten::DynArray< Type >::initNew(), and syten::DynArray< Type >::initTrivial().