fix: disable RapidJSON SIMD optimisations (#6395)

The minuscule speed increase is not worth the potential bugs and compatibility problems
This commit is contained in:
Yat Ho
2023-12-17 23:38:17 +08:00
committed by GitHub
parent a494da4fea
commit 714411a984

View File

@@ -18,16 +18,6 @@
#include <fmt/core.h>
// RapidJSON SIMD optimisations
#ifdef __SSE2__
#define RAPIDJSON_SSE2
#endif
#ifdef __SSE4_2__
#define RAPIDJSON_SSE42
#endif
#ifdef __ARM_NEON
#define RAPIDJSON_NEON
#endif
#include <rapidjson/encodedstream.h>
#include <rapidjson/encodings.h>
#include <rapidjson/error/en.h>