On Thursday, 13 August 2020 at 21:10:57 UTC, Steven Schveighoffer wrote:
On 8/13/20 4:51 PM, Andre Pany wrote:
[...]

So in your real world scenario, a non-D thread/program is calling sample, and it controls the location of *i? If so, then no, you can't depend on D not collecting that data, because D might not scan that location.

[...]

As long as you aren't allocating again later, yes. You can also disable collections and only run them when you know it's safe to do so.

-steve

Thanks for the answers. This clarifies all my questions.

Kind regards
Andre

Reply via email to