Something wrong with GC
thedeemon via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Mar 23 04:55:09 PDT 2016
On Tuesday, 22 March 2016 at 13:46:41 UTC, stunaep wrote:
> So what am I do to?
Just learn more about available containers and their semantics.
Maybe you don't need Array!T when there is a simple T[].
If you think you do need Array, then think about memory
management: where are you going to allocate the data - in the GC
heap or outside it. Depending on your answers there are different
approaches. It's all solvable if you pause and think what exactly
you're trying to do.
More information about the Digitalmars-d-learn
mailing list