[Issue 14937] Slow code compared to ldc/gdc on calculation with real variables

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 19 13:45:30 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14937

--- Comment #2 from secondaryAccount at web.de ---
Created attachment 1544
  --> https://issues.dlang.org/attachment.cgi?id=1544&action=edit
full benchmark code for reduced input file

The attached input file contains 1400 example vectors. This benchmark programm
calls cosineSimilarity 700 x 700 times (controlled by slices / foreach loops in
main). Sufficient to reproduce.

The timings in the bug report are based on 1000 x 1000 calls of
cosineSimilarity and 2000 example vectors.

Path to input file is hard coded (same directory) -> line 11

--


More information about the Digitalmars-d-bugs mailing list