Hi FeepingCreature,

Thanks for the tip, getting rid of the array constructor helped a lot, Runtime is down from 800+ms to 583ms (with LDC, still cannot match C++ though). Maybe I should get rid of all arrays and use hardcoded x,y,z member variables instead, or use tuples.

On Friday, 31 May 2013 at 03:26:16 UTC, FeepingCreature wrote:
There's some issues involving the use of array literals - they
get allocated on the heap for no clear reason. Create a version
of your vector constructor that uses four floats, then call that
instead in your line 324.

Reply via email to