JuliaLang/julia — pull request #406 by PlayMyCode (2012-02-20 01:51:59+00:00)
Title: minor changes to randmatmul that yield major speed-ups

Total time has been reduced by around 65 to 75%.

The biggest improvement was in matmul, where it was previously adding to the array whilst summing up a series of values. Now it sums using a 'total' variable, with the array being updated at the end. This alone removed over 65% of the time.

I also moved to using Float64Arrays for matmul, which adds a little more speed.