json 2.18.1 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +65 -0
- data/LEGAL +3 -3
- data/README.md +11 -2
- data/ext/json/ext/fbuffer/fbuffer.h +46 -36
- data/ext/json/ext/generator/extconf.rb +3 -0
- data/ext/json/ext/generator/generator.c +98 -325
- data/ext/json/ext/json.h +78 -0
- data/ext/json/ext/parser/extconf.rb +37 -0
- data/ext/json/ext/parser/parser.c +1535 -380
- data/ext/json/ext/simd/simd.h +0 -10
- data/ext/json/ext/vendor/fast_float_parser.h +814 -0
- data/lib/json/common.rb +41 -10
- data/lib/json/ext/generator/state.rb +1 -1
- data/lib/json/truffle_ruby/generator.rb +24 -9
- data/lib/json/version.rb +1 -1
- data/lib/json.rb +30 -4
- metadata +3 -3
- data/ext/json/ext/vendor/ryu.h +0 -819
data/ext/json/ext/simd/simd.h
CHANGED
|
@@ -133,16 +133,6 @@ ALWAYS_INLINE(static) int string_scan_simd_neon(const char **ptr, const char *en
|
|
|
133
133
|
return 0;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
static inline uint8x16x4_t load_uint8x16_4(const unsigned char *table)
|
|
137
|
-
{
|
|
138
|
-
uint8x16x4_t tab;
|
|
139
|
-
tab.val[0] = vld1q_u8(table);
|
|
140
|
-
tab.val[1] = vld1q_u8(table+16);
|
|
141
|
-
tab.val[2] = vld1q_u8(table+32);
|
|
142
|
-
tab.val[3] = vld1q_u8(table+48);
|
|
143
|
-
return tab;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
136
|
#endif /* ARM Neon Support.*/
|
|
147
137
|
|
|
148
138
|
#if defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || defined(_M_X64) || defined(_M_AMD64)
|