3 ms·
Granted, std::pmr::vector has its place... but - PMR allocators also have that weird fixation on types, which they should not; plus, dynamic allocation is expe
by einpoklum 3y ago
Granted, std::pmr::vector has its place...
but - PMR allocators also have that weird fixation on types, which they should not; plus, dynamic allocation is expensive. It's particularly expensive to let your containers do reallocation willy-nilly on their own. I'd go with `std::array`, if I wanted something dynamic - a dynarray (which the standard doesn't even have).