def room
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
114# Keep the table load <= 1/2 for one more entry.
115def room(a, -V: Kind(a), f: LRU<a, V>) -> LRU<a, V>:
116 F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f
117 room_m(a, V, cap, n, head, tail, free, tab, ks, ents, lk, Array.get(U32, m, 6))