Can I measure how much memory is used in total, grouped by type?
drathier
forum.dlang.org at fi.fo
Mon Oct 12 13:53:18 UTC 2020
On Sunday, 11 October 2020 at 20:58:22 UTC, drathier wrote:
> I think I'm using way to much memory for pointers, so I'd like
> to see how much of my memory usage is taken up by pointers.
> I've calculated the answer, but I wonder if the
> compiler/runtime could do it for me, to get a faster and more
> exact number?
More specifically, can I do this for a single value? E.g. how
much memory is used by pointer types in this specific variable?
More information about the Digitalmars-d-learn
mailing list