package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
AndSet returns the intersection set of the given sets.
CombSet returns all combinations of `numberOfItems` items in the given set.
DiffSet returns a set of items that are in s1 but not in s2.
EstimateMapSize returns the estimated size of the map.
ListToSet converts a list to a set.
NewFloat64Set builds a float64 set.
NewFloat64SetWithMemoryUsage builds a float64 set.
NewInt64Set builds a Int64Set.
NewInt64SetWithMemoryUsage builds an int64 set.
NewIntSet builds a IntSet.
NewMemAwareMap creates a new MemAwareMap.
NewSet creates a new set.
NewStringSet builds a string set.
NewStringSetWithMemoryUsage builds a string set.
UnionSet returns the union set of the given sets.
# Structs
Float64SetWithMemoryUsage is a float64 set with memory usage.
Int64SetWithMemoryUsage is a int set with memory usage.
MemAwareMap is a map which is aware of its memory usage.
StringSetWithMemoryUsage is a string set with memory usage.
# Type aliases
Float64Set is a float64 set.
Int64Set is a int64 set.
IntSet is a int set.
StringSet is a string set.