std.allocator: FreeList uses simple statistics to control number of items
via Digitalmars-d
digitalmars-d at puremagic.com
Thu May 21 01:35:39 PDT 2015
On Wednesday, 20 May 2015 at 17:28:50 UTC, Andrei Alexandrescu
wrote:
> 1. How to update Pmiss efficiently? Most allocations should be
> fast, so it shouldn't be update with every call to allocate().
> What I have now is I update every K calls.
Have you measured whether it actually makes a difference? I would
expect memory access latency to dominate, at least in some
scenarios.
More information about the Digitalmars-d
mailing list