cache

package
v0.0.0-...-4a7a635 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLRU

func NewLRU(maxSize int) *lruPageCache

NewLRU creates a LRU (least recently used) cache. This cache takes a maxSize which determines how many items can be cached. When the maximum size of the cache is exceeded, the least recently used item will be evicted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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