Releases: ignlg/heap-js
Releases · ignlg/heap-js
v2.6.0
What's Changed
- Add new methods indexOf and indexOfEvery to the Heap class by @ignlg in #650
- Next release 2.4.0 by @ignlg in #651
- Update dev dependencies to latest versions by @ignlg in #652
- Update dev dependencies and documentation by @ignlg in #653
- 🔧 chore(package.json): update dependencies by @ignlg in #654
- ⬆️ chore(package.json): update devDependencies by @ignlg in #655
- Next release 2.5.0 by @ignlg in #657
- Improve performance, upgrade packages, and bump to v2.6 by @ignlg in #658
Full Changelog: v2.3.0...v2.6.0
v2.3.0
v2.2.0
Quick changelog:
- Fixes .iterator() method to follow Java's PriorityQueue implementation:
The Iterator provided in method iterator() is not guaranteed to traverse the elements of the priority queue in any particular order.
v2.1.6
v2.1.2
v2.0.0
The main breaking change is that now top(N) does NOT sort the output. It should not be part of the spec for a priority queue, the output should be the top N elements. It will be partially ordered with the peek at index 0 by definition, that is all.
- top(N) is unordered, only the first element is guaranteed to be the top priority element.
- Fixes custom heap issue #31.
- Performance improvements.
- More tests, including those for custom heaps.
- Auxiliary experimental topN algorithms.
- (wip) Benchmarks.
v2.0.0-beta.1
The main breaking change is that now top(N)
does NOT sort the output. It should not be part of the spec for a priority queue, the output should be the top N elements. It will be partially ordered by definition, that is all.
v1.6.0-beta.0
v1.6.0-alpha.0
- Performance improvements.
- Benchmarks.