Divide & Conquer divides, but doesn't conquer

Adam D. Ruppe destructionator at gmail.com
Mon May 25 13:27:41 UTC 2020


On Monday, 25 May 2020 at 05:55:07 UTC, Walter Bright wrote:
> Thank you. This is good information. I'm curious how the new 
> staticMap compares:
>
> https://github.com/dlang/phobos/pull/7490

Using dmd master: 1.8s 1.2G
Using released dmd: 2.1s, 1.1G

(I think something in dmd master has a higher fixed memory cost, 
so remember to compare apples and apples.)

So yes, the static if version is an improvement over what it has 
now, at least for these cases. We should probably make another 
test rig to see more variety...


More information about the Digitalmars-d mailing list