Logo
Explore Help
Sign In
logos-storage/logos-storage-nim
1
0
Fork 0
You've already forked logos-storage-nim
mirror of https://github.com/logos-storage/logos-storage-nim.git synced 2026-01-05 15:03:07 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-storage-nim/tests/codex/teststores.nim

5 lines
91 B
Nim
Raw Normal View History

feat: introduce LRU cache (#50) * feat: introduce LRU cache Replace `MemoryStore` with LRU caching mechanism. `lrucache` library was forked to https://github.com/status-im/lrucache.nim. Co-authored-by: Eric Mastro <eric.mastro@gmail.com> # Conflicts: # dagger/dagger.nim # dagger/stores.nim # dagger/stores/manager.nim # tests/dagger/blockexc/testengine.nim # tests/dagger/helpers/nodeutils.nim # tests/dagger/testnode.nim # tests/dagger/teststores.nim * feat: introduce --cache-size CLI option Allow for a value of `0` to disable the cache. # Conflicts: # dagger/dagger.nim * allow dynamic block size in cache allow block size to be variable/dynamic update lrucache to use updated lrucache dep Using removeLru proc, added tests * Refactor CacheStore init block Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2022-03-03 03:30:42 +11:00
import ./stores/testcachestore
[node] add SQLiteStore backend Closes #138
2022-07-22 18:38:49 -05:00
import ./stores/testfsstore
Fix unused import warnings
2021-11-15 12:32:48 +01:00
{.warning[UnusedImport]: off.}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 29ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API