Skip to content

nlandolfi/set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

set GoDoc

The set package defines the Interface for working with sets and provides an implementation of a set backed by a Go map.

Furthermore we define the interface for a BinaryRelation defined over a set. Implementations of a map backed binary relation and predicate backed binary relation are provided.

Note: In the majority of cases, a set of type T can be represented as a map[T]bool, without the excess machinery. Using a go map is about 3 times as fast.

About

golang set and binary relation interfaces and structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published