[ trixie ]
[ sid ]
[ Източник: golang-github-bep-lazycache ]
Пакет: golang-github-bep-lazycache-dev (0.4.0-1)
Връзки за golang-github-bep-lazycache-dev
Ресурси за Debian:
- Доклади за грешки
- Developer Information
- Журнал на промените в Debian
- Авторски права
- Управление на кръпките в Debian
Изтегляне на пакет-източник golang-github-bep-lazycache.
- [golang-github-bep-lazycache_0.4.0-1.dsc]
- [golang-github-bep-lazycache_0.4.0.orig.tar.gz]
- [golang-github-bep-lazycache_0.4.0-1.debian.tar.xz]
Отговорници:
Външни препратки:
- Начална страница [github.com]
Подобни пакети:
Thread-safe in-memory LRU cache with non-blocking cache priming on cache misses
Lazycache is a simple thread-safe in-memory LRU cache. Under the hood it leverages the great simpleru package in golang-lru, with its exellent performance. One big difference between golang-lru and this library is the GetOrCreate method, which provides:
* Non-blocking cache priming on cache misses. * A guarantee that the prime function is only called once for a given key. * The cache's RWMutex is not locked during the execution of the prime function, which should make it easier to reason about potential deadlocks.
Other notable features:
* The API is generic * The cache can be resized while running. * When the number of entries overflows the defined cache size, the least recently used item gets discarded (LRU).
Други пакети, свързани с golang-github-bep-lazycache-dev
|
|
|
|
-
- dep: golang-github-frankban-quicktest-dev (>= 1.14.2)
- quick helpers for testing Go applications
-
- dep: golang-github-hashicorp-golang-lru-v2-dev (>= 2.0.7)
- Golang LRU cache (v2 with support for generics)
Изтегляне на golang-github-bep-lazycache-dev
Архитектура | Големина на пакета | Големина след инсталиране | Файлове |
---|---|---|---|
all | 7,4 кБ | 31,0 кБ | [списък на файловете] |