[OT] Yes, you can help std.allocator!

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 5 11:26:55 PDT 2015


On 4/5/15 4:50 AM, Kagamin wrote:
> On Sunday, 5 April 2015 at 03:16:32 UTC, Andrei Alexandrescu wrote:
>> Things are going well with std.allocator. I broke the code into a
>> package with modules, which makes it quite nice to deal with. Also I
>> just implemented a simple heterogeneous freelist allocator akin to the
>> Kernighan-Ritchie one:
>>
>> http://erdani.com/d/phobos-prerelease/std_experimental_allocator_kernighan_ritchie.html
>>
>
> Guess, it's a matter of time until we get something like
> yashwantraoShambshioSubramaniamSort in phobos.

I was thinking of a variety of descriptive names along the lines of 
HeterogeneousFreeList of VarLengthSortedFreeList etc. but after a little 
investigation it seems the K-R implementation is enough of a classic to 
be a good moniker. -- Andrei



More information about the Digitalmars-d mailing list