simdjson 4.2.3
Ridiculously Fast JSON
Loading...
Searching...
No Matches
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
8namespace simdjson { // table modified and copied from
9namespace internal { // http://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetTable
10
11extern SIMDJSON_DLLIMPORTEXPORT const unsigned char BitsSetTable256mul2[256];
12
13extern SIMDJSON_DLLIMPORTEXPORT const uint8_t pshufb_combine_table[272];
14
15// 256 * 8 bytes = 2kB, easily fits in cache.
16extern 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