go.container.heap
1.26.10.1
dotnet add package go.container.heap --version 1.26.10.1
NuGet\Install-Package go.container.heap -Version 1.26.10.1
<PackageReference Include="go.container.heap" Version="1.26.10.1" />
<PackageVersion Include="go.container.heap" Version="1.26.10.1" />
<PackageReference Include="go.container.heap" />
paket add go.container.heap --version 1.26.10.1
#r "nuget: go.container.heap, 1.26.10.1"
#:package go.container.heap@1.26.10.1
#addin nuget:?package=go.container.heap&version=1.26.10.1
#tool nuget:?package=go.container.heap&version=1.26.10.1
go.container.heap
C# package converted from the Go standard library by go2cs.
From C#, call this package through the static class go.container.heap_package; see Consuming converted Go from C#.
Package heap provides heap operations for any type that implements heap.Interface. A heap is a tree with the property that each node is the minimum-valued node in its subtree.
The minimum element in the tree is the root, at index 0.
A heap is a common way to implement a priority queue. To build a priority queue, implement the Heap interface with the (negative) priority as the ordering for the Less method, so Push adds items while Pop removes the highest-priority item from the queue. The Examples include such an implementation; the file example_pq_test.go has the complete source.
Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file.
Artwork licensed under Creative Commons Attribution 3.0; see artwork attribution.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
NuGet packages (3)
Showing the top 3 NuGet packages that depend on go.container.heap:
| Package | Downloads |
|---|---|
|
go.go.types
go.types (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.trace
internal.trace (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.runtime.gc.internal.gen
internal.runtime.gc.internal.gen (net10.0 - Release) -- C# project converted from Go source |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.10.1 | 0 | 10/26/2026 |
| 1.24.13.7 | 161 | 10/14/2026 |
| 1.24.13.6 | 153 | 10/12/2026 |
| 1.24.13.5 | 158 | 10/9/2026 |
| 1.24.13.4 | 161 | 10/6/2026 |
| 1.24.13.3 | 172 | 10/2/2026 |
| 1.24.13.2 | 175 | 9/24/2026 |
| 1.24.13.1 | 170 | 9/24/2026 |
| 1.23.12.3 | 205 | 9/8/2026 |
| 1.23.12.2 | 185 | 8/29/2026 |
| 1.23.12.1 | 198 | 8/26/2026 |
| 1.23.1.7 | 257 | 8/23/2026 |
| 1.23.1.6 | 229 | 8/11/2026 |
| 1.23.1.5 | 225 | 8/9/2026 |
| 1.23.1.4 | 227 | 8/8/2026 |
| 1.23.1.3 | 257 | 8/4/2026 |
| 1.23.1.2 | 260 | 7/27/2026 |
| 1.23.1.1 | 272 | 7/14/2026 |