
7 Jan
2022
7 Jan
'22
12:54 p.m.
On Fri, Jan 7, 2022 at 8:16 AM Helmut Zeisel via Boost < boost@lists.boost.org> wrote:
1) boost::multi_array_ref does not own the memory (which creates at least the memory overhead of one pointer)
AFAIK boost::multi_array (no _ref suffix) owns memory, but it still does 1 heap allocation. Still much better than vector<vector> that does many(one for each inner vector).