On Tuesday, 10 July 2018 at 17:44:59 UTC, Adam D. Ruppe wrote:
On Tuesday, 10 July 2018 at 17:39:06 UTC, SrMordred wrote:
After the GC.collect you now get 1GB of memory usage.

http://dpldocs.info/experimental-docs/core.memory.GC.minimize.html

yeah I was looking to this right now on the docs, thks :)

But still, all this knowledge about GC and all this calls to put the memory where you want, will happen automatically most of the time with the old scoped resources/RAII(and unique_ptr/shared_ptr, that D also have).


GC tradeoffs never really paid well for me. (or my mindset is very stuck in the old ways :P)

Reply via email to