simdjson 4.2.1
Ridiculously Fast JSON
Loading...
Searching...
No Matches
base.h
1#ifndef SIMDJSON_BUILTIN_BASE_H
2#define SIMDJSON_BUILTIN_BASE_H
3
4#include "simdjson/base.h"
5#include "simdjson/implementation_detection.h"
6
7namespace simdjson {
8#if SIMDJSON_BUILTIN_IMPLEMENTATION_IS(arm64)
9 namespace arm64 {}
10#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(fallback)
11 namespace fallback {}
12#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(haswell)
13 namespace haswell {}
14#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(icelake)
15 namespace icelake {}
16#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(ppc64)
17 namespace ppc64 {}
18#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(westmere)
19 namespace westmere {}
20#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lsx)
21 namespace lsx {}
22#elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(lasx)
23 namespace lasx {}
24#else
25#error Unknown SIMDJSON_BUILTIN_IMPLEMENTATION
26#endif
27
38 namespace builtin = SIMDJSON_BUILTIN_IMPLEMENTATION;
39} // namespace simdjson
40
41#endif // SIMDJSON_BUILTIN_BASE_H
The top level simdjson namespace, containing everything the library provides.
Definition base.h:8