Description
Looking at the source code for RowMatrix multiplication by a local matrix, it seems like it is going through all columnvectors of the matrix, doing pairwise dot product on each column.
It seems like this could be sped up by using gemm, performing full matrix-matrix multiplication on the local data, (or gemv, for vector-matrix multiplication), as is done in BlockMatrix or Matrix.