diff options
author | Jason Evans <jasone@canonware.com> | 2016-06-03 01:43:10 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-06-06 03:59:57 (GMT) |
commit | 6f29a8392403f70bfa1080964a65540b6f3699fe (patch) | |
tree | 60dcedc3dc0b77c6e3280979ae5a5a267834de4e /src/arena.c | |
parent | 7be2ebc23f0f145e095e7230d7d8a202b8dcc55e (diff) | |
download | jemalloc-6f29a8392403f70bfa1080964a65540b6f3699fe.zip jemalloc-6f29a8392403f70bfa1080964a65540b6f3699fe.tar.gz jemalloc-6f29a8392403f70bfa1080964a65540b6f3699fe.tar.bz2 |
Add rtree lookup path caching.
rtree-based extent lookups remain more expensive than chunk-based run
lookups, but with this optimization the fast path slowdown is ~3 CPU
cycles per metadata lookup (on Intel Core i7-4980HQ), versus ~11 cycles
prior. The path caching speedup tends to degrade gracefully unless
allocated memory is spread far apart (as is the case when using a
mixture of sbrk() and mmap()).
Diffstat (limited to 'src/arena.c')
0 files changed, 0 insertions, 0 deletions