On Friday, 16 March 2012 at 14:26:19 UTC, Andrei Alexandrescu wrote:
http://www.ultimatepp.org/www$uppweb$vsd$en-us.html

The test uses a specific data structure, an indexed contiguous array. To conclude from here that C++ is faster than D is quite a stretch.

Andrei

In fact the claim is no longer true. I pulled down their latest build and tested with a large Alice (duplicated many times to get it up to measureable consistently). I used the library stopwatch measurements for each. The results come out about the same ... theirs is a few msec faster on 10MB of input with their optimizations for speed turned on. This is on a win7-64 corei7 box, but compiling for 32 bit with msvc for their code.

this is for upp, 4193 build
G:\upp\out\MyApps\MSC9.Force_Speed.Sse2>alice2
     lines      words      bytes file
    224160    1825140   10050960 alice2.txt
time: 93 ms
skey: zip sval: 60
map size;3482


this is for d 2.058
G:\d\alice2\alice2\alice2\Release>alice2
     lines      words      bytes file
    224160   1825140  10050960 alice2.txt
time: 97 ms
skey: zip sval: 60
dictionary length:3482

Reply via email to