
10 Jun
2009
10 Jun
'09
3:14 a.m.
On Tue, Jun 9, 2009 at 7:41 PM, Scott McMurray<me22.ca+boost@gmail.com> wrote:
2009/6/9 Cory Nelson <phrosty@gmail.com>:
I would want to see it taken a step further though. Overhead can be a big deal for large objects, so re-implementing string and vector completely (so that you don't have the pointer/capacity specified twice, in container & allocator) would be a welcome change.
An implementation could already define new/delete and std::allocator in such a way that the allocation block size wasn't stored in the allocation system.
Yes, I should have gone into more depth -- I meant allocating large objects with an arena allocator (just incrementing a pointer). -- Cory Nelson http://int64.org