server-skynet-source-3rd-je.../test
Jason Evans c6a2c39404 Refactor/fix ph.
Refactor ph to support configurable comparison functions.  Use a cpp
macro code generation form equivalent to the rb macros so that pairing
heaps can be used for both run heaps and chunk heaps.

Remove per node parent pointers, and instead use leftmost siblings' prev
pointers to track parents.

Fix multi-pass sibling merging to iterate over intermediate results
using a FIFO, rather than a LIFO.  Use this fixed sibling merging
implementation for both merge phases of the auxiliary twopass algorithm
(first merging the aux list, then replacing the root with its merged
children).  This fixes both degenerate merge behavior and the potential
for deep recursion.

This regression was introduced by
6bafa6678f (Pairing heap).

This resolves #371.
2016-04-11 02:15:42 -07:00
..
include/test Avoid blindly enabling assertions for header code when testing. 2016-03-23 16:15:42 -07:00
integration Add (size_t) casts to MALLOCX_ALIGN(). 2016-03-11 10:11:56 -08:00
src Refactor out signed/unsigned comparisons. 2016-03-15 09:40:02 -07:00
stress Code formatting fixes. 2016-03-23 16:15:42 -07:00
unit Refactor/fix ph. 2016-04-11 02:15:42 -07:00
test.sh.in Streamline test output. 2013-12-12 14:58:26 -08:00