An important pull request: accessing shared affix for immutable data

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 13 14:16:02 PST 2016


On Saturday, 13 February 2016 at 21:10:50 UTC, Andrei 
Alexandrescu wrote:
> On 02/13/2016 01:50 PM, Mathias Lang via Digitalmars-d wrote:
>> 2016-02-12 20:12 GMT+01:00 Andrei Alexandrescu via 
>> Digitalmars-d
>> <digitalmars-d at puremagic.com 
>> <mailto:digitalmars-d at puremagic.com>>:
>>
>>     https://github.com/D-Programming-Language/phobos/pull/3991
>>
>>     The only difference between an approach based on an 
>> associative
>>     array and AffixAllocator is that the latter is faster (the
>>     association is fixed by layout).
>>
>>
>> Could you point to your benchmark / paper about this ?
>
> There's no need. I'll do the implementation with the prefix, 
> and if you do it with a global hashtable within the same or 
> better speed, my hat is off to you.

I believe he was referring to BiBoP.


More information about the Digitalmars-d mailing list