Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
bep
/
lazycache
Public
generated from
bep/golibtemplate
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2
Star
23
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit History
Commits on Feb 26, 2025
all: Run modernize -fix ./...
bep
committed
95d73ef
Copy full SHA for 95d73ef
Make Go 1.23 the lower version
bep
committed
743be9d
Copy full SHA for 743be9d
Commits on Dec 26, 2024
Improve concurrent test
bep
committed
68a5be9
Copy full SHA for 68a5be9
Commits on Nov 27, 2024
Add license headers
Show description for ddbe45e
bep
committed
ddbe45e
Copy full SHA for ddbe45e
Commits on Oct 27, 2024
Preserve panics in create
Show description for 32cf045
bep
committed
32cf045
Copy full SHA for 32cf045
Commits on Oct 26, 2024
Fix handling of panics in GetOrCreate
Show description for 24e43a4
bep
committed
24e43a4
Copy full SHA for 24e43a4
Commits on Aug 10, 2024
github: Update versions
bep
committed
b9b1303
Copy full SHA for b9b1303
Export Len
bep
committed
ce7cd57
Copy full SHA for ce7cd57
Commits on Feb 4, 2024
Add a concurrent test for GetOrCreate and Resize
bep
committed
de2247e
Copy full SHA for de2247e
Commits on Jan 31, 2024
Update test.yml
Show description for 226d272
bep
authored
226d272
Copy full SHA for 226d272
Commits on Dec 29, 2023
Add OnEvict to options
bep
committed
5754ec5
Copy full SHA for 5754ec5
Commits on Dec 25, 2023
github: Bump Go versions
bep
committed
e2a55ce
Copy full SHA for e2a55ce
deps: Update github.com/hashicorp/golang-lru/v2 v2.0.1 => v2.0.7
bep
committed
47a52c5
Copy full SHA for 47a52c5
Commits on Jan 25, 2023
Make GetOrCreate return a bool indicating if the value was found in the cache
bep
committed
3c063dc
Copy full SHA for 3c063dc
Commits on Dec 1, 2022
readme: Remove "in progress" etc.
Show description for 0516096
bep
committed
0516096
Copy full SHA for 0516096
Commits on Nov 17, 2022
Fix benchmark
bep
committed
9a53882
Copy full SHA for 9a53882
Remove the bool return from GetOrCreate
bep
committed
ce472e9
Copy full SHA for ce472e9
Fix potential deadlock with nested GetOrCreate calls
Show description for ac54fac
bep
committed
ac54fac
Copy full SHA for ac54fac
Commits on Nov 15, 2022
deps: Switch back to github.com/hashicorp/golang-lru/v2/simplelru
Show description for e6d6418
bep
committed
e6d6418
Copy full SHA for e6d6418
Commits on Nov 10, 2022
Make it generic
Show description for e380173
bep
committed
e380173
Copy full SHA for e380173
Commits on Nov 9, 2022
Fix race in test
bep
committed
9e57b69
Copy full SHA for 9e57b69
Comment out the baseline benchmarks for now
bep
committed
1491216
Copy full SHA for 1491216
Rename struct LazyCache => Cache
bep
committed
f9b0171
Copy full SHA for f9b0171
Initial version
bep
committed
561ba93
Copy full SHA for 561ba93
Commits on Nov 7, 2022
Initial commit
bep
authored
139fafd
Copy full SHA for 139fafd
You can’t perform that action at this time.