cache

package
v0.0.0-...-9036f4b Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 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