golang-github-bep-lazycache 0.4.0-1 source package in Ubuntu

Changelog

golang-github-bep-lazycache (0.4.0-1) unstable; urgency=medium

  * New upstream version 0.4.0
  * Bump versioned dependencies as per go.mod

 -- Anthony Fok <email address hidden>  Fri, 23 Feb 2024 17:49:20 -0700

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
Noble release universe misc

Builds

Noble: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
golang-github-bep-lazycache_0.4.0-1.dsc 2.3 KiB c61a459aa1a07e613288a35d9f5ff87a2d889977199761600d5c6d6618953d9d
golang-github-bep-lazycache_0.4.0.orig.tar.gz 7.5 KiB 7e26ef4c05ec89ad9752707d6f01195016afa8a8cbca499cac00de940286cd8d
golang-github-bep-lazycache_0.4.0-1.debian.tar.xz 2.6 KiB bf080917b5e585ff0e6b20bc47edb95423cecd6f544c81dff7ed4264c6a6c7e3

Available diffs

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).