generic
golang-memory-arenas
generic | golang-memory-arenas | |
---|---|---|
6 | 1 | |
1,270 | 4 | |
- | - | |
4.7 | 10.0 | |
4 months ago | over 1 year ago | |
Go | Go | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
generic
-
Go 1.20: memory arenas
You might also consider using other data structures instead of slices, for example, a linked list can be grown without an issue.
-
how to implement a mutex queue in golang
github.com/zyedidia/generic's queue
- A collection of generic data structures written in Go
-
Go Generics Facilitators
I recently saw a go generic data structures library in the wild: https://github.com/zyedidia/generic.
Anyone have any more? I'm curious what people come up with for goroutines/channels.
- An experimental collection of generic data structures written in Go
- Experimental generic implementations of various data structures (map, b-tree, AVL tree, rope, and more)
golang-memory-arenas
-
Go 1.20: memory arenas
You can achieve even better results in small toy applications. For example, you can take the Binary Trees example from Benchmark Games and change the code to use memory arenas:
What are some alternatives?
xgen - XSD (XML Schema Definition) parser and Go/C/Java/Rust/TypeScript code generator
async - experimental promises in go1.18 with generics
go-datastructures - A collection of useful, performant, and threadsafe Go datastructures.
gods - GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more
functools - Functional tools in Go 1.18 using newly introduced generics
gods - Go Data Structures
genny - Elegant generics for Go
gomarkdoc - Generate markdown documentation for Go (golang) code
fut
tinyq - an implementation of a persistent FIFO queue. with ability to pause/start dequeue.
TOML-to-Go - Translates TOML into a Go type in your browser instantly