Slow code, slow

ketmar ketmar at ketmar.no-ip.org
Mon Feb 26 18:42:22 UTC 2018


H. S. Teoh wrote:

> On Sat, Feb 24, 2018 at 09:43:35AM +0000, Stefan Koch via Digitalmars-d 
> wrote:
> [...]
>> This particular slowdown happens because there are somehow depdencies
>> on std.format.format which is instantiated.
>> Which has a ton of dependencies itself.
>
> Aha!  That explains it.  Thanks, Stefan, for the accurate diagnosis. :-)
>
> Now the next problem is: how to trim the fat off std.format ...

p.p.s.: or replace it with `void fmtlite (...) {}` thingy. this way we can 
still have type safety, but get rid of templates.


More information about the Digitalmars-d mailing list