On 2010-12-12 11:09:24 -0500, so <[email protected]> said:
Normally, yes, I'd agree. But in this case, it's merely a port of the
C++ source code, so all algorithms are identical. The only change I did
initially was to use ranges, but even after replacing those with
mixins, the performance was equally as bad. There's also no memory
allocations, so the GC isn't an issue either. There are also
benchmarks on behavior that make me fairly confident the behavior is
comparable.
If you already haven't, i suggest you to profile it and share related
parts with us.
That is unacceptable.
Another interesting metric would be to compile the C++ code with
inlining disabled and compare with the D code with inlining disabled.
--
Michel Fortin
[email protected]
http://michelf.com/