On Friday, 14 February 2014 at 16:00:09 UTC, Robin wrote:
class Matrix(T = double) { T opIndex(size_t row, size_t col) const {
First of all make sure you it's not virtual, otherwise each element access will cost you enough to make it 10x slower than Java.