diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-11-29 11:31:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-11-29 11:31:35 +0000 |
commit | b39a9f52ed3f33082f13f51678d053ee80a2e1f4 (patch) | |
tree | 2144a18d85681df09f83e255f2e5c6d04e61e878 /src/lua | |
parent | 6c0223b32b8fcb6621fa64197214abb400a09f52 (diff) | |
download | rspamd-b39a9f52ed3f33082f13f51678d053ee80a2e1f4.tar.gz rspamd-b39a9f52ed3f33082f13f51678d053ee80a2e1f4.zip |
[Rework] Replace fastutf with simdutf
Simdutf is faster and has way better support of the architectures (especially
when it comes to non-x86 stuff). Hence, it is a good idea to use it instead
of the non-supported fastutf8 stuff.
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_text.c | 2 | ||||
-rw-r--r-- | src/lua/lua_util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_text.c b/src/lua/lua_text.c index 3342fc95c..7ce7440c7 100644 --- a/src/lua/lua_text.c +++ b/src/lua/lua_text.c @@ -16,7 +16,7 @@ #include "lua_common.h" #include "libcryptobox/cryptobox.h" -#include "contrib/fastutf8/fastutf8.h" +#include "rspamd_simdutf.h" #include "unix-std.h" /*** diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index e92e4977a..14994751c 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -32,7 +32,7 @@ #include "unicode/uspoof.h" #include "unicode/uscript.h" -#include "contrib/fastutf8/fastutf8.h" +#include "rspamd_simdutf.h" /*** * @module rspamd_util |