Comments (3)
If you add:
IgnoreInternalCost: true,
to your ristretto.Config, I think your test will pass. This is an indication that you are controlling cost calculation upon .Set
. Not sure why internal cost for entries is 56.
from ristretto.
This is interesting, anyone know where the extra 56 comes from.
from ristretto.
This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.
from ristretto.
Related Issues (20)
- [FEATURE]: Jemalloc 5.3.0 HOT 1
- [FEATURE]: use system jemalloc HOT 1
- [Non-hashed key values in Item]: onEvict should send the non hashed key values HOT 2
- [BUG]: compilation reports asm error when -buildmode=plugin
- [QUESTION]: Is there any way to implement an expired map counter with ristretto? HOT 1
- [QUESTION]: How can I pre warm the cache ? HOT 1
- [QUESTION]: When get v.0.1.2 tag and it's release note? HOT 1
- [QUESTION]: Why is Ristretto so slow and has such a small hit ratio? HOT 8
- Update projects using ristretto HOT 1
- [SERIOUS BUG]: negative key cache hit problem HOT 3
- [BUG]: Can't use Google's uuid.UUID (a byte array rather than slice) as a key HOT 6
- new release HOT 3
- Missing commits/PRs on main HOT 2
- Cache configuration checks should consider negative values for `NumCounters`/`MaxCost`/`BufferItems` HOT 1
- [BUG]: <Title>Cannot correctly view a transparent png file, which is very long HOT 1
- [QUESTION]: why does memory keep rising when i used ristretto HOT 1
- [Documentation]: Describe guarantees (or lack thereof) under aliased mutation of arguments and return values
- Unable to override LDFLAGS to point to different jemalloc lib path HOT 1
- [QUESTION]: When will there be a new release (v2 to maintain compatibility with libraries using the old version)? HOT 3
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 ristretto.