Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
hace 2 meses
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
hace 10 meses
Josh Soref
2b8e6958f4
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
hace 2 años
Vsevolod Stakhov
c271eb3665
[Rework] Add C++ guards to all headers
hace 4 años
Vsevolod Stakhov
db7f8d68e4
[Minor] Add methods to get LRU hash sizes
hace 5 años
Vsevolod Stakhov
13252a6d57
[Rework] Core: Improve structure of lru hash, get rid of GHashTable
hace 5 años
Vsevolod Stakhov
bc5cf4c240
[Minor] Allow explicit deletion from LRU cache
hace 7 años
Vsevolod Stakhov
7b44f3af0b
[Rework] Use LFU algorithm in LRU cache
Avoid usage of heap as its updates are not cheap. Use LFU algorithm
described here: http://antirez.com/news/109
hace 7 años
Vsevolod Stakhov
e332d67692
[Feature] Use less frequent use strategy for caches
hace 8 años
Vsevolod Stakhov
c1c8dba96e
[Feature] Use heap in LRU caches
Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
hace 8 años
Vsevolod Stakhov
45384ca0ba
Fix fuzzy stats
hace 8 años
Vsevolod Stakhov
3c9e040a7c
Add methods to extract internal fields from LRU hash
hace 8 años
Vsevolod Stakhov
335db24f7f
Use const pointer for LRU cache search.
hace 9 años
Vsevolod Stakhov
8a02a5a211
Rework LRU hash.
hace 9 años
Vsevolod Stakhov
956a05fd4f
Rework rspamd hash.
hace 9 años
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
hace 10 años
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
hace 10 años
Vsevolod Stakhov
e0483657ff
Unify code style.
hace 10 años
Vsevolod Stakhov
61555065f3
Rework project structure, remove trash files.
hace 10 años
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
hace 10 años
Vsevolod Stakhov
6cbad30ffb
Rework LRU hash logic.
hace 10 años
Vsevolod Stakhov
25769904ac
* LRU cache now is capable to get custom insert and delete functions that would allow to use custom storage engines for it
hace 12 años
Vsevolod Stakhov
2b5a8d60da
* Add LRU caching structure
* Add SPF records cache
* Add ability to parse doubles to xmlrpc
Several fixes to dns interface.
Trie plugin now checks urls as well.
hace 13 años
Vsevolod Stakhov
3604753e01
* Fix shared hashes avoiding its resizing
hace 15 años
Vsevolod Stakhov
0fd2682e11
* Prepare to migrate to cmake (still need to write install target and working with XS implicitly)
* Move all system includes to one file where we detect availability of all that includes
* Fix license misprint
* Fix some issues with perl initializing
hace 15 años
Vsevolod Stakhov
7f8de78794
* Make doxygen happy about structures members
hace 15 años
Vsevolod Stakhov
bf6f283840
* Add some comments and documentation
hace 15 años
Vsevolod Stakhov
a450d0faa8
* Add new hash for storing hash data in shared memory
* Add rwlocks implementation (primitive) in memory pool library
hace 15 años