Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDictionary ¶
GenerateDictionary builds an LZ77 dictionary from a given frequency table.
func GenerateTable ¶
func GenerateTable(windowSize int, paths []string, compLevel int, progress chan<- float64, concurrency int) (table map[string]int)
GenerateTable builds a frequency table of incompressible literals from files.
func NewDictator ¶
func NewDictator(windowSize int) *dictator
Types ¶
type PriorityQueue ¶
type PriorityQueue []*scoredString
A PriorityQueue implements heap.Interface and holds scoredStrings
func (PriorityQueue) Len ¶
func (pq PriorityQueue) Len() int
func (PriorityQueue) Less ¶
func (pq PriorityQueue) Less(i, j int) bool
func (*PriorityQueue) Pop ¶
func (pq *PriorityQueue) Pop() interface{}
func (*PriorityQueue) Push ¶
func (pq *PriorityQueue) Push(x interface{})
func (PriorityQueue) Swap ¶
func (pq PriorityQueue) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.