Kemal::LRUCache(K, V)
Inherits Reference < Object
Small, private LRU cache used by the router to avoid full cache clears when many distinct paths are accessed. Keeps get/put at O(1). This is intentionally minimal and file-local to avoid API surface.
Constructors
new(capacity : Int32)
SourceInstance methods
get(key : K) : V | Nil
Sourceput(key : K, value : V) : Nil
Sourcesize
Source