import{_ as e,c as t,o as d,N as c}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: lib/lru-cache","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/lib/lru-cache.md","lastUpdated":null}'),a={name:"api/modules/lib/lru-cache.md"},o=c('

Module: lib/lru-cache

Classes

LRUCache

LRUCache<K, V>: Object

A LRU cache intended for caching pure functions.

Type parameters

Name
K
V
NameType
constructor<K, V>(maxSize: number) => LRUCache<K, V>
firstundefined | ListNode<K, V>
lastundefined | ListNode<K, V>
mapMap<K, ListNode<K, V>>
maxSizenumber
get size()number
get(key: K) => undefined | V
set(key: K, value: V) => void

Defined in

profectus/src/lib/lru-cache.ts:4

',10),l=[o];function r(s,i,n,h,f,u){return d(),t("div",null,l)}const p=e(a,[["render",r]]);export{b as __pageData,p as default};