This commit is contained in:
Leeingnyo
2021-09-05 00:02:05 +09:00
parent 5e919d3e19
commit 0fd7caef4b
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ def generate_cache_entry(key : String, value : Array(Entry) | Int32 | String)
end
# LRU Cache
class SortedEntriesCache
class LRUCache
@@limit : Int128 = Int128.new 0
# key => entry
@@cache = {} of String => CacheEntryType