On Friday, 6 January 2017 at 23:39:09 UTC, Ryan wrote:
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/[email protected]

Thanks a lot for sharing this.

Reply via email to