Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/luckylukas/heap

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/luckylukas/heap

  • v1.0.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

#heap

a simple implementation of a min heap in go. No additional allocations when adding nodes

BenchmarkHeap_AddNoCap-2                         5279101               204 ns/op              87 B/op          0 allocs/op
BenchmarkHeap_AddOverCapacity-2                 10372914               250 ns/op              89 B/op          0 allocs/op
BenchmarkHeap_RemoveTopGrowingTree-2             1231784               995 ns/op             105 B/op          1 allocs/op
BenchmarkHeap_RemoveTopStagnantTree-2            4079859               303 ns/op               8 B/op          1 allocs/op

FAQs

Package last updated on 25 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc