We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71cdb8d commit 628e4e3Copy full SHA for 628e4e3
1 file changed
include/simdjson/parsedjson.h
@@ -51,7 +51,7 @@ struct ParsedJson {
51
n_structural_indexes = 0;
52
u32 max_structures = ROUNDUP_N(len, 64) + 2 + 7;
53
structural_indexes = new u32[max_structures];
54
- size_t localtapecapacity = ROUNDUP_N(len / 2, 64);
+ size_t localtapecapacity = ROUNDUP_N(len, 64);
55
size_t localstringcapacity = ROUNDUP_N(len, 64);
56
string_buf = new u8[localstringcapacity];
57
tape = new u64[localtapecapacity];
0 commit comments