mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
fix: disable RapidJSON SIMD optimisations (#6395)
The minuscule speed increase is not worth the potential bugs and compatibility problems
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user