-
Romain Vimont authored
The "matrix" of restoration units was stored in a vector of vectors. To avoids an additional indirection for each row, store them in a contiguous array instead. Besides the (theoretical) performance benerit for every access, this will simplify the implementation of tiled-views which have to expose non-overlapping parts of the "matrix" via unsafe code. Also, since its size is constant (although not known at compile-time), replace the vector by a boxed slice.
8503cea4