2 ms·
You could always run your stl with your favorite allocator. PMR just makes it simpler to use, and provides library implementations of common allocator patterns.
by jeffbee 3y ago
You could always run your stl with your favorite allocator. PMR just makes it simpler to use, and provides library implementations of common allocator patterns. PMR is not a zero-cost abstraction, though. Its implementation via type erasure has performance costs.