Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SafeSet ¶ added in v0.4.0
SafeSet is a threadsafe hashset.
func (*SafeSet) Add ¶ added in v0.4.0
Add an entry to the current set. If the entry is already there, it returns true.
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
Set is a hashset implementation. The hashing function is Xxhash for its high performance.
Click to show internal directories.
Click to hide internal directories.