 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package sparse implements sparse sets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
	// contains filtered or unexported fields
}
    A Set is a sparse set of uint32 values. http://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html
func NewSet ¶
NewSet returns a new Set with a given maximum size. The set can contain numbers in [0, max-1].
func (*Set) Dense ¶
Dense returns the values in the set. The values are listed in the order in which they were inserted.
 Click to show internal directories. 
   Click to hide internal directories.