Comments (1)
Thanks for reporting this. It appears to be partly because of a bug, or at least an inconsistency, in Go: http://code.google.com/p/go/issues/detail?id=3966
Decrement also didn't take uints into consideration. That should be fixed in the latest revision. Please let me know if the tests don't all pass successfully after doing go get -u github.com/pmylund/go-cache.
from go-cache.
Related Issues (20)
- Will stopJanitor be called?
- Should perform the function `onEvicted` when reset the key.
- why struct Cache contains pointer to cache? HOT 2
- Reloading via .NewFrom() loads as interface{}, not saved type HOT 1
- clear memory HOT 1
- Question HOT 1
- please create a new tag HOT 1
- sync.runtime_SemacquireMutex(0xc02c98fbf0?, 0x1f?, 0x3?) HOT 2
- Feature request: Renaming HOT 3
- Recommend a new go-cache package
- why dont exported shardedCache struct? HOT 1
- Question: why Get() function can't unlock immediately?like this: HOT 2
- cache will not expire when system time drift backward
- Float calculation error
- Question About Expired
- goroutine leak at cache.go:1079 - `runJanitor` HOT 5
- Example how to save cache in file and reload using gob an c.Items() ? HOT 1
- The efficiency of `Get` will decrease if too many `Set ` are executed HOT 1
- Introduce pattern-based Keys and Scan functions
- Proposal to Integrate SIEVE Eviction Algorithm
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-cache.