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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

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>