I am trying to compare the performance of boost::multi_array to native dynamically allocated arrays, with the following test program:
#include
Another thing to try is to use iterators instead of a straight index for the boost array.