Comments (2)
All the new entries, including entries with the existing key, are added into circular byte buffer, so it is close to 2. Del(k)
won't help, since it doesn't free up space in the circular byte buffer - it just removes k => <offset in the circular buffer>
mapping.
from fastcache.
ok thx
from fastcache.
Related Issues (20)
- bug about set idxNew in Set function HOT 1
- can you support a method for iterator all keys in fastcache HOT 1
- contribution to the workingsetcache.go HOT 2
- Memory leak when using `LoadFromFile` multiple times
- possible to remove the allocations? make it 0? HOT 4
- Can you pls clarify... new set items, does it move to the front with the old set item still inside cache or...? HOT 1
- https://github.com/VictoriaMetrics/fastcache/blob/master/fastcache.go#L392 HOT 1
- fastcache doesn't store value with length of exactly 512k
- can't compile to wasm
- why fastcache not do hashcode collision? HOT 1
- discuss about timing of getChunk()
- There are some confusions in the process of reading the source code
- Iterations by indexes HOT 1
- [Feature] Notify when data evicted HOT 2
- Clarification: k and v contents may be modified after returning from Set. HOT 2
- Vulnerability: CVE-2022-29526
- Questions about how to check the cashe usage and, about specifying the cache size HOT 1
- if add a parameter to control the number of buckets, can or not improve the performance of concurrent read and write ? HOT 1
- Feature request : Dynamic cache size adjustment. shrink or grow cache size
- why comparisons with bigcache of version 4 years old?
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 fastcache.