You can return a VecMapper as well, that's basically what the view functions above the storage mapper does :)
Of course to actually construct the return data the contract will have to load the whole mapper which can be quite expensive for large vecs :)
You can return a VecMapper as well, that's basically what the view functions above the storage mapper does :) Of course to actually construct the return data the contract will have to load the whole mapper which can be quite expensive for large vecs :)