Commit Graph
10 Commits
Author SHA1 Message Date
Karoy LorenteyandClaude Sonnet 4.6 9e2f57eddf [HeapModule] Heap._UnsafeHandle.swapAt(_:with:): Add missing bounds assertion
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 15:13:59 -07:00
Karoy Lorentey 1c69635852 Add SPDX-License-Identifier tags 2026-03-05 19:39:24 -08:00
Karoy Lorentey d9b09ecde8 Update copyright dates 2026-03-05 19:39:20 -08:00
Karoy Lorentey d93a6ab8a1 [Heap] Follow the spelling of stdlib’s min/max; add note explaining expectations
The existing expressions had the same effect, but they used different operators (`<=` instead of `<` and `>` instead of `>=`). The distinction is usually irrelevant, but there is no reason not to just follow what the stdlib is doing exactly.
2025-05-15 17:30:25 -07:00
Dakshin Devanand 5edd1be23c Make Heap._UnsafeHandle min/maxValue tie-breaker consistent with Swift.min/max 2025-03-08 10:08:39 -06:00
Karoy Lorentey 540348f147 [Heap] Update copyright notices 2024-02-02 16:20:21 -08:00
Karoy Lorentey cc181a3bce HeapModule: _Node → _HeapNode
This makes this name unique throughout the package, allowing this code to be built as a single, huge module.
2023-03-21 16:39:03 -07:00
Karoy Lorentey fc8092d044 [Heap] Small preparation for improving insert(contentsOf:) 2022-10-14 10:34:58 -07:00
Karoy Lorentey fbebb69a1b [Heap] Doc updates 2022-10-13 14:50:18 -07:00
Karoy Lorentey 33b759b842 [Heap] PriorityQueueModule → HeapModule 2022-10-09 15:44:44 -07:00