Skip to main content
Module

x/cache_mapset/lfu.ts

Maps and Sets with cache replacement policies, TC39 proposal-policy-map-set implementation
Latest
import * as cacheMapset from "https://deno.land/x/cache_mapset@1.0.0/lfu.ts";

Classes

Map with an upper limit, objects like. When the upper limit is reached, replaces the entry with LFU algorithm.

Set with an upper limit, objects like. When the upper limit is reached, replaces the value with LFU algorithm.