-
Notifications
You must be signed in to change notification settings - Fork 511
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: hashicorp/golang-lru
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: hashicorp/golang-lru
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.5
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 13 commits
- 11 files changed
- 3 contributors
Commits on Jun 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9af07c6 - Browse repository at this point
Copy the full SHA 9af07c6View commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f4cd393 - Browse repository at this point
Copy the full SHA f4cd393View commit details
Commits on Aug 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 78003ed - Browse repository at this point
Copy the full SHA 78003edView commit details
Commits on Aug 5, 2023
-
add expirable LRU implementation
Thread-safe. It could be used in place of simplelru.LRU but shouldn't as it has built-in locks, whereas simplelru.LRU doesn't, which allows more effective locking on top of it in top-level package cache implementations.
Configuration menu - View commit details
-
Copy full SHA for 738ef57 - Browse repository at this point
Copy the full SHA 738ef57View commit details -
switch expirable LRU from purgeEvery to 1/100th of TTL buckets
That sets the memory overhead to approximately 1% mark at the cost of expiring the cache entries up to 1% faster than their TTL expires. Previously, all entries were scanned for expiration by purgeEvery interval, which created computation overhead, and after this commit, we delete entries we want to delete without checking extra ones.
Configuration menu - View commit details
-
Copy full SHA for cd39ba4 - Browse repository at this point
Copy the full SHA cd39ba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73f395c - Browse repository at this point
Copy the full SHA 73f395cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0d41e0 - Browse repository at this point
Copy the full SHA f0d41e0View commit details
Commits on Aug 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1154eab - Browse repository at this point
Copy the full SHA 1154eabView commit details
Commits on Aug 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f2e3b29 - Browse repository at this point
Copy the full SHA f2e3b29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 575866d - Browse repository at this point
Copy the full SHA 575866dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b3d259 - Browse repository at this point
Copy the full SHA 3b3d259View commit details
Commits on Aug 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8d433cc - Browse repository at this point
Copy the full SHA 8d433ccView commit details -
test: increase sleep time in expirable tests
The github workflows are failing.
Configuration menu - View commit details
-
Copy full SHA for 99d7b17 - Browse repository at this point
Copy the full SHA 99d7b17View commit details
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.