simdjson  3.11.0
Ridiculously Fast JSON
simdprune_tables.h
1 #ifndef SIMDJSON_INTERNAL_SIMDPRUNE_TABLES_H
2 #define SIMDJSON_INTERNAL_SIMDPRUNE_TABLES_H
3 
4 #include "simdjson/base.h"
5 
6 #include <cstdint>
7 
8 namespace simdjson { // table modified and copied from
9 namespace internal { // http://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetTable
10 
11 extern SIMDJSON_DLLIMPORTEXPORT const unsigned char BitsSetTable256mul2[256];
12 
13 extern SIMDJSON_DLLIMPORTEXPORT const uint8_t pshufb_combine_table[272];
14 
15 // 256 * 8 bytes = 2kB, easily fits in cache.
16 extern SIMDJSON_DLLIMPORTEXPORT const uint64_t thintable_epi8[256];
17 
18 } // namespace internal
19 } // namespace simdjson
20 
21 #endif // SIMDJSON_INTERNAL_SIMDPRUNE_TABLES_H
The top level simdjson namespace, containing everything the library provides.
Definition: base.h:8