Awesome Go Data Structures and Algorithms

  • badger badger 12,961
    star
    updated 12 months ago Apache License 2.0

    Fast key-value DB in Go.

  • bolt bolt 14,094
    star
    updated over 6 years ago MIT License

    An embedded key/value database for Go.

  • updated over 2 years ago MIT License

    Anti-memory-waste byte buffer pool

  • compress compress 4,247
    star
    updated about 1 year ago Other

    Optimized Go Compression Packages

  • fasthttp fasthttp 21,773
    star
    updated about 1 month ago MIT License

    Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http

  • updated about 3 years ago MIT License

    Fast and scalable pseudorandom generator for Go

  • updated over 2 years ago ISC License

    Go 1.18+ polymorphic generic containers and functions.

  • genny genny 1,698
    star
    updated about 3 years ago MIT License

    Elegant generics for Go

  • updated about 1 year ago Other
  • updated 6 months ago Apache License 2.0

    A collection of useful, performant, and threadsafe Go datastructures.

  • gods gods 15,997
    star
    updated 3 months ago Other

    GoDS (Go Data Structures) - Sets, Lists, Stacks, Maps, Trees, Queues, and much more

  • updated 3 months ago MIT License
  • gogu gogu 97
    star
    updated over 1 year ago MIT License

    A comprehensive, reusable and efficient concurrent-safe generics utility functions and data structures library.

  • updated 5 months ago MIT License

    Determine how intervals relate to each other.

  • goraph goraph 736
    star
    updated over 2 years ago MIT License

    Package goraph implements graph data structure and algorithms.

  • gorpc gorpc 685
    star
    updated about 2 years ago MIT License

    Simple, fast and scalable golang rpc library for high load

  • graph graph 71
    star
    updated over 4 years ago

    Simple and fast graph library

  • graph graph 645
    star
    updated over 1 year ago BSD 2-Clause "Sim...

    Graph algorithms and data structures

  • groupcache groupcache 12,859
    star
    updated 12 months ago Apache License 2.0

    groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

  • maps maps 17
    star
    updated over 1 year ago MIT License

    map library using Go generics that offers a standard interface, go routine synchronization, and sorting

  • pgzip pgzip 1,045
    star
    updated over 1 year ago MIT License

    Go parallel gzip (de)compression

  • snappy snappy 1,512
    star
    updated 11 months ago BSD 3-Clause "New...

    The Snappy compression format in the Go programming language.

  • updated almost 2 years ago MIT License

    Customizable TCP net.Listener for Go