Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Firepal/stammer
/ __init__
Method
__init__
decay_cache.py:17–19 ·
view source on GitHub ↗
(self,size: int)
Source
from the content-addressed store, hash-verified
15
decay: int = 100
16
17
def
__init__(self,size: int):
18
for
i in range(size):
19
self.items[i] = DecayItem()
20
21
def
reinit(self):
22
self.__init__(len(self.items))
Callers
1
reinit
Method · 0.95
Calls
1
DecayItem
Class · 0.85
Tested by
no test coverage detected