Comments (4)
I still need this. Added new comments to PR.
from go-generics-cache.
@norri Hi 👋
I'm not sure what do you mean this?
len(c.Keys()) could be used but it's still not the same.
I thought this meant len(c.Keys()) != c.Len() right?
from go-generics-cache.
The result is the same. I just thought that there is no need to go through all the keys to get the lenght. Nevermind this my comment.
from go-generics-cache.
@norri I commented your PR.
If you don't kneed the changes, please close PR and this issues 🙏
from go-generics-cache.
Related Issues (15)
- Maybe change containers/list to implementations on generics HOT 5
- Improved performance/memory usage for items with an expiry HOT 8
- Clock policy: Not show all the page with sequential access pattern HOT 1
- Can a read-write lock be used in the cache instead of a mutex? HOT 1
- fatal error: concurrent map read and map write HOT 1
- Panic when deleting expired items HOT 3
- LFU: Allow setting the frequency and update the heap HOT 2
- Panic when delete expired items. HOT 1
- Feature: Add save and load functions in cache HOT 6
- Nil panic in janitor HOT 1
- Slow expiration key clearing HOT 7
- expiration not update
- LFU Delete/pop key take a long time HOT 5
- Is this cache thread safe or not? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-generics-cache.