summaryrefslogtreecommitdiffstats
path: root/msvc
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2016-02-29 19:22:52 (GMT)
committerJason Evans <je@fb.com>2016-03-08 21:46:19 (GMT)
commit6bafa6678fc36483e638f1c3a0a9bf79fb89bfc9 (patch)
tree0fda8700a217e33f4244c08228f483c7f9148781 /msvc
parente3998c681dec35fe0de25f693a39de6fb881134e (diff)
downloadjemalloc-6bafa6678fc36483e638f1c3a0a9bf79fb89bfc9.zip
jemalloc-6bafa6678fc36483e638f1c3a0a9bf79fb89bfc9.tar.gz
jemalloc-6bafa6678fc36483e638f1c3a0a9bf79fb89bfc9.tar.bz2
Pairing heap
Initial implementation of a twopass pairing heap with aux list. Research papers linked in comments. Where search/nsearch/last aren't needed, this gives much faster first(), delete(), and insert(). Insert is O(1), and first/delete don't have to walk the whole tree. Also tested rb_old with parent pointers - it was better than the current rb.h for memory loads, but still much worse than a pairing heap. An array-based heap would be much faster if everything fits in memory, but on a cold cache it has many more memory loads for most operations.
Diffstat (limited to 'msvc')
0 files changed, 0 insertions, 0 deletions