Valarray was supposed to be the next big thing in C++ speed, but that was years ago. I wanted to see whether using gslice with valarray would work as fast as a C-style 3D array. I can't find much in the way of performance data, and what I could find was done years ago. There are all sorts of ways to test this: by compiler, w/ & w/o optimization, varying array size, types of operations, etc. I suppose I can run my own benchmarks, but to me the syntax of the thing looks cumbersome.
Can anyone find recent benchmarks comparing valarray to other multidimensional approaches, or can someone volunteer experience working with gslice & valarray?