Ecosyste.ms: Funds

An open API service for providing issue and pull request metadata for open source projects.

https://github.com/hashicorp/golang-lru

Last synced: about 4 hours ago

Repository metadata:

Golang LRU cache


Owner metadata:


Committers metadata

Last synced: 1 day ago

Total Commits: 110
Total Committers: 45
Avg Commits per committer: 2.444
Development Distribution Score (DDS): 0.773

Commits in past year: 2
Committers in past year: 2
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.5

Name Email Commits
Armon Dadgar a****r@g****m 25
Jeff Mitchell j****l@g****m 10
Dmitry Verkhoturov p****7@g****m 9
Michael Gaffney m****e@g****c 8
Mark Reid m****d@m****m 6
Marek Dolgos m****k@l****o 3
hashicorp-copywrite[bot] 1****] 3
Daniel Kumor d****l@d****m 2
Joe Sylve j****e@b****m 2
Michael Muré m****e@c****t 2
Mitchell Hashimoto m****o@g****m 2
Nick Galbreath n****g@c****m 2
Sasha Melentyev s****a@m****o 2
Yigong Liu 7****r 2
Shawn Smith s****h@g****m 2
Alexander Gugel a****l@g****m 1
hashicorp-tsccr[bot] 1****] 1
Yuva Shankar y****9 1
Varun Mittal v****t 1
MoonFruit d****t@g****m 1
Eduardo Cáceres e****o 1
Irena Rindos i****s 1
Dong Nguyen n****g@g****m 1
Fabrice j****r@c****r 1
Jakob j****b@a****v 1
Joshua Ball j****l@y****m 1
Kane York r****g@g****m 1
Kev Burns k****r@g****m 1
Kishan B k****6@g****m 1
Sami Kerola k****a@i****i 1
and 15 more...

Issue and Pull Request metadata

Last synced: 1 day ago


Package metadata

go: github.com/hashicorp/golang-lru

Package lru provides three different LRU caches of varying sophistication. Cache is a simple LRU cache. It is based on the LRU implementation in groupcache: https://github.com/golang/groupcache/tree/master/lru TwoQueueCache tracks frequently used and recently used entries separately. This avoids a burst of accesses from taking out frequently used entries, at the cost of about 2x computational overhead and some extra bookkeeping. ARCCache is an adaptive replacement cache. It tracks recent evictions as well as recent usage in both the frequent and recent caches. Its computational overhead is comparable to TwoQueueCache, but the memory overhead is linear with the size of the cache. ARC has been patented by IBM, so do not use it if that is problematic for your program. All caches in this package take locks while operating, and are therefore thread-safe for consumers.

  • Homepage: https://github.com/hashicorp/golang-lru
  • Documentation: https://pkg.go.dev/github.com/hashicorp/golang-lru#section-documentation
  • Licenses: MPL-2.0
  • Latest release: v1.0.2 (published over 1 year ago)
  • Last Synced: 2024-11-09T00:37:27.260Z (1 day ago)
  • Versions: 9
  • Dependent Packages: 25,900
  • Dependent Repositories: 128,405
  • Docker Downloads: 40,774,618,288
  • Rankings:
    • Dependent repos count: 0.005%
    • Dependent packages count: 0.007%
    • Docker downloads count: 0.008%
    • Average: 0.509%
    • Stargazers count: 1.146%
    • Forks count: 1.38%
go: github.com/hashicorp/golang-lru/v2

Package lru provides three different LRU caches of varying sophistication. Cache is a simple LRU cache. It is based on the LRU implementation in groupcache: https://github.com/golang/groupcache/tree/master/lru TwoQueueCache tracks frequently used and recently used entries separately. This avoids a burst of accesses from taking out frequently used entries, at the cost of about 2x computational overhead and some extra bookkeeping. ARCCache is an adaptive replacement cache. It tracks recent evictions as well as recent usage in both the frequent and recent caches. Its computational overhead is comparable to TwoQueueCache, but the memory overhead is linear with the size of the cache. ARC has been patented by IBM, so do not use it if that is problematic for your program. For this reason, it is in a separate go module contained within this repository. All caches in this package take locks while operating, and are therefore thread-safe for consumers.

  • Homepage: https://github.com/hashicorp/golang-lru
  • Documentation: https://pkg.go.dev/github.com/hashicorp/golang-lru/v2#section-documentation
  • Licenses: MPL-2.0
  • Latest release: v2.0.7 (published about 1 year ago)
  • Last Synced: 2024-11-09T00:37:24.539Z (1 day ago)
  • Versions: 8
  • Dependent Packages: 1,219
  • Dependent Repositories: 2,405
  • Docker Downloads: 8,622,914,446
  • Rankings:
    • Docker downloads count: 0.046%
    • Dependent repos count: 0.167%
    • Dependent packages count: 0.234%
    • Average: 0.587%
    • Stargazers count: 1.125%
    • Forks count: 1.36%
go: github.com/hashicorp/golang-lru/arc/v2

  • Homepage: https://github.com/hashicorp/golang-lru
  • Documentation: https://pkg.go.dev/github.com/hashicorp/golang-lru/arc/v2#section-documentation
  • Licenses: MPL-2.0
  • Latest release: v2.0.7 (published about 1 year ago)
  • Last Synced: 2024-11-09T00:37:25.237Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Docker Downloads: 1,627,782,432
  • Rankings:
    • Stargazers count: 1.105%
    • Forks count: 1.329%
    • Average: 3.92%
    • Dependent repos count: 4.794%
    • Dependent packages count: 8.453%
go: github.com/Hashicorp/golang-lru


Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • actions/setup-go v1 composite