hashmap

package
v0.0.0-...-ed0ed42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) *hmap

New creates a new hashmap

Types

type Hash64

type Hash64 interface {
	Sum64() uint64
}

Hash64 returns 64-bit hash

type Option

type Option func(*hmap)

Option provides options for instantiating HashMap

func BucketSizeOption

func BucketSizeOption(size uint8) Option

BucketSizeOption sets the average size of bucket

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL