proxy.golang.org : github.com/decred/dcrd/container/lru
Package lru provides generic type and concurrent safe LRU data structures with near O(1) perf and optional time-based expiration support. This example demonstrates creating a new map instance, inserting items into the map, existence checking, looking up an item, causing an eviction of the least recently used item, and removing an item. This example demonstrates creating a new set instance, inserting items into the set, checking set containment, causing an eviction of the least recently used item, and removing an item.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/decred/dcrd/container/lru
Keywords:
blockchain
, cryptocurrency
, dcrd
, decred
, decred-daemon
, decred-nodes
, go
, golang
, p2p
, peer-to-peer
License: ISC
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/decred/dcrd/container
Stars: 767 on GitHub
Forks: 311 on GitHub
Total Commits: 6760
Committers: 164
Average commits per author: 41.22
Development Distribution Score (DDS): 0.422
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago