[OT] I wrote a (better?) heap memory manager, is it good for anything?
Klaus via Digitalmars-d
digitalmars-d at puremagic.com
Mon Aug 11 16:10:13 PDT 2014
On Saturday, 9 August 2014 at 15:46:27 UTC, Mehrdad wrote:
> On Saturday, 9 August 2014 at 13:29:47 UTC, Anonymouse wrote:
>> There is no realloc, move, cpy ?
>
> Not sure what you mean by move or copy (can't you just use
> regular memmove/memcpy?) but no, there is no realloc -- C++
> doesn't use realloc and this was meant to be used in C++.
Those functions are part of the memory manager (MM). Some MM have
higly optimized memory copy operation (i.e realloc: if the source
is overlapped with the dest...using SSE or MMX registers... etc).
More information about the Digitalmars-d
mailing list