Comments (4)
Would you check the commit fd8331c? I added a template parameter that should allow you to pass a custom HashMap implementation. See tests implementation to check out this feature with the parallel-hashmap.
from caches.
Would you check the commit fd8331c? I added a template parameter that should allow you to pass a custom HashMap implementation. See tests implementation to check out this feature with the parallel-hashmap.
thx, it's work for me
from caches.
Right now it is not supported. Current implementation relies only on the std::unordered_map
container.
It should be pretty straight forward to update it to support an unordered_map
compatible container though.
If you wish you may prepare a PR. I'll be more than happy to accept it.
from caches.
Indeed I tried, but the solution is not elegant as the param of map too complex .
master...westfly:caches:map_param
I will try to find other solution to give an PR asap
from caches.
Related Issues (15)
- operation_guard not locking HOT 3
- Update Get method to return std::optional HOT 2
- using as cmake HOT 1
- small edit in the readme example HOT 1
- Uncomplicated multithreaded design? HOT 2
- FIFO cache policy Key Removal mismatches actual removed key HOT 2
- multithreading issue HOT 3
- cache_policy.hpp raises warning when compiled with -Wunused-parameter HOT 1
- It works for iOS and Android? HOT 2
- 是否支持时间过期? HOT 2
- 你好,请问是线程安全的吗
- `std::unordered_set` does not have a function named `crbegin` HOT 2
- overload the Get function when the key is not in the cache HOT 2
- change the permission for Erase() to public HOT 2
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 caches.