2.0.0 (2022-11-04)
- export type of option (01ff281)
2.0.0-0 (2022-11-04)
- bye abstract class (28691af)
- rename PriorityQueue to AbstractPriorityQueue (a21121c)
- update exporting manner (a67f555)
- specific implementation is now provided in subdir
- remove alias methods
1.0.0 (2019-10-02)
1.0.0-rc3.0 (2019-10-02)
- fix for lint (986bc34)
1.0.0-rc3 (2019-09-16)
1.0.0-rc2 (2019-09-15)
- PairingHeap: improve performance (bef6e79)
- add filter (60c3997)
- add simple performance mesurement codes (34fa5fa)
- rewrite perf (d92e147)
- separate perf case for Integer or Number (19c4ea7)
- store results as files (bd61d7c)
- PairingHeap: stability has gone
1.0.0-rc1 (2018-02-25)
- BinaryHeap: now throw Error when call method to take out from empty priority queue (286f48b)
- type: fix flow inference issue (af2fb96)
- type: top & pop returns non-null value (bf19ebd)
- export strategies directly (671649e)
- meld is no longer exist
- New manner of specifying a strategy.
Before:
import PriorityQueue from 'priorityqueue';
const binaryHeap = new PriorityQueue({
strategy: PriorityQueue.BinaryHeapStrategy
});
After:
import PriorityQueue, { BinaryHeap } from 'priorityqueue';
const binaryHeap = new BinaryHeap();
PriorityQueue === BinaryHeap; // true
PairingHeap
, SkewHeap
also available.