std.experimental.collection.functional.slist

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 19 07:42:32 PDT 2015


On 6/19/15 7:32 AM, Ivan Timokhin wrote:
> Having said that, from what I've heard, it seems that indirection and virtual
> call cost can be quite noticeable with simple allocators (e.g. region
> allocator). Could we have an allocator template argument that would default to
> IAllocator, so that one gets all benefits of runtime binding by default, but
> still can get static binding if it is required?

I think we need to pay what it takes to have a working framework. -- Andrei


More information about the Digitalmars-d mailing list