Commit Graph

25 Commits

Author SHA1 Message Date
Amos Bird
4a5e4274f0
base should not depend on Common 2022-04-29 10:26:35 +08:00
Maksim Kita
e7772ed434 Fix clang-tidy warnings in Common folder 2022-03-14 18:17:35 +00:00
lgbo-ustc
e6528ca0ef fix a bug in LRUCache::remove() 2021-12-30 20:38:58 +08:00
lgbo-ustc
59cbd76880 Add LRUResourceCache
1. add LRUResourceCache for managing resource cache in lru policy
2. rollback LRUCache to the original version
3. add remove() in LRUCache
4. add unit tests for LRUResourceCache and LRUCache
2021-12-29 15:25:33 +08:00
lgbo-ustc
413fb290bb remove comments 2021-12-28 09:19:21 +08:00
lgbo-ustc
26e61061b0 update setImpl() 2021-12-27 20:46:51 +08:00
lgbo-ustc
922dd40c05 optimization 2021-12-27 20:33:25 +08:00
lgbo-ustc
f86e3ef1ae update the evict action when overwrite a key 2021-12-27 18:12:40 +08:00
lgbo-ustc
54b2a42530 update variable names 2021-12-27 18:02:02 +08:00
lgbo-ustc
3367755dcc update comment 2021-12-27 16:21:10 +08:00
lgbo-ustc
ef1d7142f5 remove getOrTrySet 2021-12-27 16:12:39 +08:00
lgbo-ustc
51e43ae619 some modification in LRUCache 2021-12-27 10:20:07 +08:00
lgbo-ustc
5a9bd7fd41 fixe typos 2021-12-23 18:13:56 +08:00
lgbo-ustc
e25b1f7361 update comments 2021-12-23 18:05:52 +08:00
lgbo-ustc
fe4ef69fc7 remove unused header 2021-12-23 18:01:58 +08:00
lgbo-ustc
59bc87e409 remove unused errorcode 2021-12-23 17:53:19 +08:00
lgbo-ustc
9fdb061b7e Add evict policy in LRUCache 2021-12-23 17:36:41 +08:00
Maksim Kita
dbf4811029 Updated documentation 2021-10-26 13:00:42 +03:00
Maksim Kita
3810baf44c CompiledExpressionCache limit elements size 2021-10-26 00:00:57 +03:00
Alexey Milovidov
fe6b7c77c7 Rename "common" to "base" 2021-10-02 10:13:14 +03:00
Maksim Kita
72d610be2e Updated CHJIT interface to be more thread safe 2021-05-08 17:39:35 +03:00
Maksim Kita
31b7734407 LRUCache fix exception unsafe element insertion 2021-03-19 00:26:02 +03:00
Alexey Milovidov
edd89a8610 Fix half of typos 2020-08-08 03:47:03 +03:00
Alexey Milovidov
25f941020b Remove namespace pollution 2020-05-31 00:57:37 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00