commit d7a5198: Merge pull request #4130 from rspamd/rework-symcache

GitHub noreply at github.com
Sat Apr 30 19:22:06 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-04-30 20:18:04 +0100
URL: https://github.com/rspamd/rspamd/commit/d7a5198119b0a745fcdf748cdac46fc75559dba0 (HEAD -> master)

Merge pull request #4130 from rspamd/rework-symcache
[Project] Rework symcache

This is a complete rework and redesign of the symbols cache structures rewritten in C++ and cleared up from lot's of legacy stuff.

 config.h.in                                  |    6 +-
 src/libserver/CMakeLists.txt                 |    7 +-
 src/libserver/cfg_file.h                     |    2 +-
 src/libserver/rspamd_symcache.c              | 3857 --------------------------
 src/libserver/rspamd_symcache.h              |  105 +-
 src/libserver/symcache/symcache_c.cxx        |  556 ++++
 src/libserver/symcache/symcache_id_list.hxx  |  176 ++
 src/libserver/symcache/symcache_impl.cxx     | 1054 +++++++
 src/libserver/symcache/symcache_internal.hxx |  464 ++++
 src/libserver/symcache/symcache_item.cxx     |  467 ++++
 src/libserver/symcache/symcache_item.hxx     |  408 +++
 src/libserver/symcache/symcache_periodic.hxx |   90 +
 src/libserver/symcache/symcache_runtime.cxx  |  830 ++++++
 src/libserver/symcache/symcache_runtime.hxx  |  203 ++
 src/libserver/task.h                         |   14 +-
 src/libutil/CMakeLists.txt                   |    3 +-
 src/libutil/cxx/locked_file.cxx              |  252 ++
 src/libutil/cxx/locked_file.hxx              |  126 +
 src/libutil/mem_pool.c                       |   19 +
 src/libutil/mem_pool.h                       |   21 +
 src/lua/lua_config.c                         |   72 +-
 21 files changed, 4701 insertions(+), 4031 deletions(-)


More information about the Commits mailing list