Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeStats ¶
type CodeStats struct {
// contains filtered or unexported fields
}
CodeStats represents frequencies of bytes.
func New ¶
New creates new zero code stats with buffer provided.
Buffer is used for reading from reader later. We allow to provide buffer to avoid repeatable allocations since stats are recalculated frequently.
Click to show internal directories.
Click to hide internal directories.