Dave Watson 6bafa6678f 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.
2016-03-08 13:46:19 -08:00
..
2015-03-23 17:26:53 -07:00
2016-02-26 14:43:39 -08:00
2015-08-10 23:42:33 -07:00
2016-03-08 13:46:19 -08:00
2012-02-28 16:50:47 -08:00
2015-06-25 22:53:58 +02:00
2015-08-03 21:49:02 -07:00
2016-03-08 13:46:19 -08:00
2016-03-08 13:46:19 -08:00
2016-02-24 13:03:48 -08:00
2014-12-08 16:34:04 -08:00
2014-12-08 16:34:04 -08:00
2014-11-07 14:50:38 -08:00
2016-02-23 18:09:25 -08:00
2016-02-19 20:29:06 -08:00
2016-02-19 20:32:37 -08:00
2014-09-10 21:49:42 -04:00