On Monday, 27 July 2015 at 08:52:07 UTC, Martin Nowak wrote:
On 07/26/2015 09:04 PM, Jesse Phillips wrote:
It would be better to compare with LDC or GDC to match the
same backend as C++. That is a little harder since they don't
have 2.068 yet.
Reading a file is IO and memcpy limited, has nothing to do with
compiler optimizations. Clearly we must be doing some
unnecessary copying or allocating.
Unless the only code being exercised is only a system call to
read and a system call to memcpy, then I'll stick with the notion
that the backends may have something to do with it or if it is
just tested with the same backend.