Learning resources for std.experimental.allocator
Ryan via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 6 15:39:09 PST 2017
On Friday, 6 January 2017 at 03:28:43 UTC, Chris Wright wrote:
>
> There are some other interesting things you can do with this,
> though, regarding tracking how you use memory. Or you could use
> it to better benchmark malloc vs GC for your application.
I did this just to see what the difference was and I was
surprised by the results. Just using the allocator interface with
the GC caused a speed up, then the additional speed up from using
malloc/free was very small in comparison.
https://forum.dlang.org/post/rurbbpuqnfepllecqzla@forum.dlang.org
More information about the Digitalmars-d
mailing list