Boost MultiArrays performance is poor
问题 I noticed that my boost mutiarrays were performing very badly compared to STL Vector. I came upon this question asked earlier, where the most liked answer stated that 1) Boost is nearly as fast as native array 2) You need to change the order in which you access your data elements to get the best performance out of Boost MultiArray. Also, that you need to run in Release mode, and not Debug. Well, I did all that, and yet the performance of my MultiArrays is pretty shabby. I am posting my code