
"Emil Dotchevski" <emildotchevski@gmail.com> wrote in message news:AANLkTimfZnofwHQygQf6HWh7wvJqfn2nyNhZTtnG6P20@mail.gmail.com...
On Sun, Jan 23, 2011 at 1:01 PM, Thorsten Ottosen <nesotto@cs.aau.dk> wrote:
As for the conjectured extra indirection, then I'm not sure it can become any major performance problem, nor do I see how one can avoid it when we need to go for the heap in certain cases.
Clearly the extra indirection is the only potential problem, otherwise a stack-based vector implementation could probably be replaced by a stack-based std::vector allocator.
I don't see that 'clearly'...the most pronounced effect/issue is highly dependent on the use case and the software and hardware environment... -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman