Versions in this module Expand all Collapse all v0 v0.0.1 Jan 9, 2023 Changes in this version + type TopK struct + func New(workers int, k, width, depth uint32, decay float64, seed int) *TopK + func (topk *TopK) Add(item string) + func (topk *TopK) AddBytes(item []byte) + func (topk *TopK) Count(item string) (uint64, bool) + func (topk *TopK) CountBytes(item []byte) (uint64, bool) + func (topk *TopK) List() []minheap.Node + func (topk *TopK) Query(item string) (exist bool) + func (topk *TopK) QueryBytes(item []byte) (exist bool) + func (topk *TopK) Wait()