How to use sets in D?

Johan j at j.nl
Sun Mar 8 10:40:41 UTC 2020


On Sunday, 8 March 2020 at 08:43:10 UTC, mark wrote:
>
> Here are some timings ...
[...]
> #!/usr/bin/env rdmd

Please remember that performance testing is not trivial.
At the very least, you should be testing optimized code (-O) and 
preferably with LDC or GDC because they have a much stronger 
optimizer than DMD.
Also, `assert` is not a good way to check something in 
performance testing code. See 
https://forum.dlang.org/thread/bpbyhmrsfzirfqggnlyw@forum.dlang.org

-Johan



More information about the Digitalmars-d-learn mailing list