Closed Magalame closed 5 years ago
Very nice! Could you leave the original implementation in place and add a benchmark to compare the two?
um, the tests are red because Travis cannot find the test logs. This is likely due to a behaviour change in the new stack
.
Very nice! Could you leave the original implementation in place and add a benchmark to compare the two?
No problem! Should I then move the new implementation to Statistics.Matrix.Fast
?
Also, I'm not too sure about how to fix Travis here :/
@Magalame perhaps you could just comment out the cat ...
lines in Travis and we'll think about it later :)
Edited!
I still need to include both transpose
@ocramz I actually had a missing import there, seems like it's all good now!
According to the benches on my machine I have a ~ x6 speedup.
The reason is that
quotRem
is a very expensive operation compared to simple multiplication and addition