aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/hash.c
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Fix some more suspicious casesVsevolod Stakhov2019-04-071-1/+1
|
* [Minor] Fix capacity returned for LRU cacheVsevolod Stakhov2019-04-051-1/+1
|
* [Minor] Add methods to get LRU hash sizesVsevolod Stakhov2019-04-051-0/+17
|
* [Minor] LRU: Mark fresh node as immportal to avoid its early evictionVsevolod Stakhov2019-02-011-2/+8
|
* [Rework] Core: Improve structure of lru hash, get rid of GHashTableVsevolod Stakhov2018-12-101-122/+391
|
* [Fix] Core: treat nodes with ttl properly in lru cacheVsevolod Stakhov2018-12-101-27/+49
| | | | Issue: #2675
* [Minor] Further portion of g_slice eliminationVsevolod Stakhov2017-10-281-2/+2
|
* [Minor] Allow explicit deletion from LRU cacheVsevolod Stakhov2017-05-201-0/+17
|
* [Minor] Remove unused constantVsevolod Stakhov2017-05-141-1/+0
|
* [Fix] Fix LRU elements removalVsevolod Stakhov2017-05-141-1/+1
|
* [Minor] Renumber evictions list on removalVsevolod Stakhov2017-05-131-7/+10
|
* [Minor] Add more sanity guards for evictionsVsevolod Stakhov2017-05-131-10/+22
|
* [Minor] Fix evictionVsevolod Stakhov2017-05-121-1/+6
|
* [Rework] Use LFU algorithm in LRU cacheVsevolod Stakhov2017-05-111-39/+217
| | | | | Avoid usage of heap as its updates are not cheap. Use LFU algorithm described here: http://antirez.com/news/109
* [CritFix] Fix ttl based expiration from LRU cacheVsevolod Stakhov2016-04-191-1/+1
|
* [Fix] Add more guards for heapVsevolod Stakhov2016-04-111-1/+9
|
* [Feature] Use less frequent use strategy for cachesVsevolod Stakhov2016-04-111-6/+28
|
* [Feature] Use heap in LRU cachesVsevolod Stakhov2016-04-081-79/+11
| | | | Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
* Switch the rest to apache 2Vsevolod Stakhov2016-02-041-21/+12
|
* Fix fuzzy statsVsevolod Stakhov2015-12-141-10/+0
|
* Add methods to extract internal fields from LRU hashVsevolod Stakhov2015-12-141-0/+13
|
* Fix LRU hash destroy.Vsevolod Stakhov2015-04-011-1/+1
|
* Use const pointer for LRU cache search.Vsevolod Stakhov2015-03-181-1/+1
|
* Fix potential issues as found by coverity.Vsevolod Stakhov2015-02-051-1/+1
|
* Initialize expire queue.Vsevolod Stakhov2015-02-041-0/+1
|
* Rework LRU hash.Vsevolod Stakhov2015-02-031-63/+74
|
* Update keypairs cache.Vsevolod Stakhov2015-02-021-0/+7
|
* Rework lists and hashes.Vsevolod Stakhov2014-08-241-1/+2
|
* Rework rspamd hash.Vsevolod Stakhov2014-08-241-373/+58
|
* Unify style without sorting headers.Vsevolod Stakhov2014-07-231-64/+103
|
* Revert "Unify code style."Vsevolod Stakhov2014-07-231-103/+64
| | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
* Unify code style.Vsevolod Stakhov2014-07-231-64/+103
|
* Rework project structure, remove trash files.Vsevolod Stakhov2014-04-211-0/+489