You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,10 @@ Please see the [project documentation](https://socketry.github.io/io-event/) for
18
18
19
19
Please see the [project releases](https://socketry.github.io/io-event/releases/index) for all releases.
20
20
21
+
### v1.14.0
22
+
23
+
-[Enhanced `IO::Event::PriorityHeap` with deletion and bulk insertion methods](https://socketry.github.io/io-event/releases/index#enhanced-io::event::priorityheap-with-deletion-and-bulk-insertion-methods)
The `delete_if` and `concat` methods are particularly efficient for bulk operations, using bottom-up heapification to maintain the heap property in O(n) time. This provides significant performance improvements:
27
-
-**Bulk insertion**: O(n log n) → O(n) for adding multiple elements
28
-
-**Bulk deletion**: O(k×n) → O(n) for removing k elements
29
+
30
+
-**Bulk insertion**: O(n log n) → O(n) for adding multiple elements
31
+
-**Bulk deletion**: O(k×n) → O(n) for removing k elements
29
32
30
33
Both methods maintain the heap invariant and include comprehensive test coverage with edge case validation.
0 commit comments