Which is the fastest? A boost::multi_array
or a std::vector
?
I will have (not constant) 17.179.869 elements stored in 3 dimensions which will need to be accessed inside a for
loop very rapidly and very often. What would be the most performing? An std::vector
or a boost::multi_array
?
(I don't expect it to be done within a second, but I would like to have it as efficient as possible because a nanosecond difference can save a lot of time.)