mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 19:10:24 +01:00
Implemented ScanCopyUnescapeString optimization
Some performance issues to be fixed
This commit is contained in:
@@ -14,6 +14,14 @@
|
||||
|
||||
#include "unittest.h"
|
||||
|
||||
// __SSE2__ and __SSE4_2__ are recognized by gcc, clang, and the Intel compiler.
|
||||
// We use -march=native with gmake to enable -msse2 and -msse4.2, if supported.
|
||||
#if defined(__SSE4_2__)
|
||||
# define RAPIDJSON_SSE42
|
||||
#elif defined(__SSE2__)
|
||||
# define RAPIDJSON_SSE2
|
||||
#endif
|
||||
|
||||
#include "rapidjson/reader.h"
|
||||
#include "rapidjson/internal/dtoa.h"
|
||||
#include "rapidjson/internal/itoa.h"
|
||||
|
||||
Reference in New Issue
Block a user