Awesome Go Data Structures and Algorithms

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

    Fast key-value DB in Go.

  • bolt bolt 13,885
    star
    updated about 6 years ago MIT License

    An embedded key/value database for Go.

  • updated over 1 year ago MIT License

    Anti-memory-waste byte buffer pool

  • compress compress 4,247
    star
    updated 6 months ago Other

    Optimized Go Compression Packages

  • fasthttp fasthttp 21,040
    star
    updated 9 days 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 over 2 years ago MIT License

    Fast and scalable pseudorandom generator for Go

  • updated over 1 year ago ISC License

    Go 1.18+ polymorphic generic containers and functions.

  • genny genny 1,690
    star
    updated over 2 years ago MIT License

    Elegant generics for Go

  • updated 7 months ago Other
  • updated 8 months ago Apache License 2.0

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

  • gods gods 15,203
    star
    updated about 2 months ago Other

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

  • updated 3 months ago MIT License
  • gogu gogu 93
    star
    updated about 1 year ago MIT License

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

  • updated almost 2 years ago MIT License

    Determine how intervals relate to each other.

  • goraph goraph 732
    star
    updated about 2 years ago MIT License

    Package goraph implements graph data structure and algorithms.

  • gorpc gorpc 685
    star
    updated over 1 year ago MIT License

    Simple, fast and scalable golang rpc library for high load

  • graph graph 71
    star
    updated about 4 years ago

    Simple and fast graph library

  • graph graph 645
    star
    updated 11 months ago BSD 2-Clause "Sim...

    Graph algorithms and data structures

  • groupcache groupcache 12,622
    star
    updated 5 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 about 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 12 months ago MIT License

    Go parallel gzip (de)compression

  • snappy snappy 1,463
    star
    updated 4 months ago BSD 3-Clause "New...

    The Snappy compression format in the Go programming language.

  • updated over 1 year ago MIT License

    Customizable TCP net.Listener for Go