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/bpbyhmrsfzirfqggn...@forum.dlang.org
-Johan