<div dir="ltr"><div dir="ltr">On Thu, Jul 23, 2020 at 10:50 AM Andrei Alexandrescu via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Was thinking about this, see <a href="https://issues.dlang.org/show_bug.cgi?id=21065" rel="noreferrer" target="_blank">https://issues.dlang.org/show_bug.cgi?id=21065</a>.<br>
<br>
One problem I noticed with the current instrumentation of allocations is <br>
that it is extremely slow. <a href="https://github.com/dlang/dmd/pull/11381" rel="noreferrer" target="_blank">https://github.com/dlang/dmd/pull/11381</a> takes <br>
care of that trivially and quickly because it takes advantage of <br>
defining one static variable per instantiation.<br></blockquote><div><br></div><div>I've had this thought too. Great idea!</div></div></div>