<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-02-12 20:12 GMT+01:00 Andrei Alexandrescu via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/D-Programming-Language/phobos/pull/3991" rel="noreferrer" target="_blank">https://github.com/D-Programming-Language/phobos/pull/3991</a><br>  </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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).<br>
<br></blockquote><div><br>Could you point to your benchmark / paper about this ?<br><br>The general idea sounds good, however I share deadalnix's concern over storing the metadata next to the user's data. I also fail to see how those are a "soup of generic considerations", given it only apply when using an affix.</div></div></div></div>