Slow code, slow

ketmar ketmar at ketmar.no-ip.org
Mon Feb 26 18:38:39 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.s.: and ditch type safety. 'cause `foo(T...) (T args)` is a major 
slowdown -- it is a template. ;-)


More information about the Digitalmars-d mailing list