I have often read that vectors should be used instead of arrays but when I changed one of my particle simulators data storing arrays to a vector there was a noticeable drop in performance. Are their some situations when it is better to use raw arrays?
I initialised the multidimensional vector like this: