11 Resources
Golang heap Libraries
When storing a value in a Go interface allocates memory on the heap.
Go interface values This repository deep dives Go interface values, what they are, how they work, and when storing a value in a Go interface allocates
Data Structure Series: Heaps and heap applications
heaps Data Structure Series: Heaps and heap applications Current Updates: GO: heaps.go: max-heap implementation standard add, remove, and restore func
Package treap implements an immutabe sorted set datastructure using a combination tree/heap or treap.
treap Package treap implements an immutabe sorted set datastructure using a combination tree/heap or treap. The algorithms are mostly based on Fast Se
Simple and high-performance data structures and algorithms library
The Great Way is Simple Simple and high-performance data structures and algorithms library Benchmark goos: windows goarch: amd64 pkg: github.com/lxzan
A slice backed binary heap with support for generic type parameters.
go-binaryheap A slice backed binary heap where the order can be customized by a comparison function. The main branch now requires go 1.18 because the
Off heap golang memory pool
Stealthpool stealthpool provides a memory pool that allocates blocks off-heap that will NOT be tracked by the garbage collector. The name stealthpool
A lightweight job scheduler based on priority queue with timeout, retry, replica, context cancellation and easy semantics for job chaining. Build for golang web apps.
Table of Contents Introduction What is RIO? Concern An asynchronous job processor Easy management of these goroutines and chaining them Introduction W
Find functions that return a reference and cause allocations.
refreturn Find functions that return a reference and cause allocations. When a function allocates a value and returns a reference to it, the value has
A tool to list and diagnose Go processes currently running on your system
gops gops is a command to list and diagnose Go processes currently running on your system. $ gops 983 980 uplink-soecks go1.9 /usr/local/bin/u
GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, Enumerables, Sort, JSON
GoDS (Go Data Structures) Implementation of various data structures and algorithms in Go. Data Structures Containers Lists ArrayList SinglyLinkedList
CLRS study. Codes are written with golang.
algorithms CLRS study. Codes are written with golang. go version: 1.11 Heap BinaryHeap on array BinaryHeap on linkedlist LeftistHeap FibonacciHeap Tre