Why is boosts matrix multiplication slower than mine?
Slower performance of the uBLAS version can be partly explained by debugging features of the latter as was pointed out by TJD. Here’s the time taken by the uBLAS version with debugging on: real 0m19.966s user 0m19.809s sys 0m0.112s Here’s the time taken by the uBLAS version with debugging off (-DNDEBUG -DBOOST_UBLAS_NDEBUG compiler flags added): … Read more