Allocates the size expressed in bytes aligned by alignment.
Re-allocate memory to newsize bytes aligned by alignment.
Allocates the size expressed in bytes.
Deallocate the specified memory block
Expands the array by increasing its length with the required delta.
Return the memory size that will be allocated asking for the minimum required size.
Checks if the memory has been allocated by this allocator.
Re-allocate memory to newsize bytes.
Resolves a pointer to get the full memory block.
Returns the global instance of this allocator type. Mimallocator is thread-safe, all methods are shared.
The alignment is a static constant equal to platformAlignment, which ensures proper alignment for any D data type.
High-level interface for mimalloc.