Skip to content

Collections pkg for golang - generics support and thread-safe

License

Notifications You must be signed in to change notification settings

althk/collections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collections

A collection of useful data structures written for Golang. Some of the collections provide thread-safe versions.

Some of these data structures are based on Algorithms, 4th Edition by Robert Sedgewick and Kevin Wayne. All credit for the algorithms goes to the authors.

The package currently has the following data structures (all generics-based):

  • Bitmap - A thread-safe bitmap implementation
  • ConcurrentMaxPQ - Thread-safe max heap.
  • MaxPQ - A basic max heap.
  • RBTree - An implementation of a red-black tree.
  • Set - A basic implementation of a collection with properties of a Set and allowing Set operations.

About

Collections pkg for golang - generics support and thread-safe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages