golang-github-bep-lazycache 0.2.0-2 source package in Ubuntu

Changelog

golang-github-bep-lazycache (0.2.0-2) unstable; urgency=medium

  * Source-only upload for migration to testing

 -- Anthony Fok <email address hidden>  Tue, 14 Mar 2023 13:22:31 -0600

Upload details

Uploaded by:
Debian Go Packaging Team
Uploaded to:
Sid
Original maintainer:
Debian Go Packaging Team
Architectures:
all
Section:
misc
Urgency:
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section
Mantic release universe misc

Builds

Mantic: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
golang-github-bep-lazycache_0.2.0-2.dsc 2.3 KiB 4abdb8180b5a05df932e525aa42d86fdca2b24570f3375a409a84585d7da2c0b
golang-github-bep-lazycache_0.2.0.orig.tar.gz 7.2 KiB c6fbef14b7a1300048ebab8ae869582bef5993c38683d533ebc49fa630d02706
golang-github-bep-lazycache_0.2.0-2.debian.tar.xz 2.5 KiB 359a28457cf698959522d1d8dcee22b6a687e29d883199f4dbe0eaa58644434c

No changes file available.

Binary packages built by this source

golang-github-bep-lazycache-dev: 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).