Matthieu Gautier
|
2b38d2cf1b
|
Copy the lrucache test from libzim.
- Adapt lrucache.cpp for rigth include path
and use `kiwix::lru_cache` instead of `zim::lru_cache`.
- Add missing `#include <set>` in lrucache.h
|
2022-06-02 12:37:52 +02:00 |
Matthieu Gautier
|
fd0edbba80
|
Use a set of id as key for a the searcher Cache.
It will allow use to cache seacher for multiple zim files.
|
2022-05-24 14:55:48 +02:00 |
Matthieu Gautier
|
740581c55c
|
Link the cache size to the book count.
Unless explicitly set via user env variable.
|
2022-05-24 14:55:48 +02:00 |
Maneesh P M
|
a51f8d66a7
|
Introduce a LRU Cache and concurrent cache
The cache is copied from libzim project : https://github.com/openzim/libzim
The exact file as been copied from commit 27f5e70
|
2022-03-08 17:34:27 +01:00 |