new should lower to a template function call

Manu turkeyman at gmail.com
Thu Jul 23 03:52:35 UTC 2020


On Thu, Jul 23, 2020 at 10:50 AM Andrei Alexandrescu via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> Was thinking about this, see
> https://issues.dlang.org/show_bug.cgi?id=21065.
>
> One problem I noticed with the current instrumentation of allocations is
> that it is extremely slow. https://github.com/dlang/dmd/pull/11381 takes
> care of that trivially and quickly because it takes advantage of
> defining one static variable per instantiation.
>

I've had this thought too. Great idea!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200723/0b8e988a/attachment.htm>


More information about the Digitalmars-d mailing list