Commit 8503cea4 authored by Committed by Luca Barbato
Store restoration units contiguously
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.
Showing with 5 additions and 5 deletions