Trying with just a unified stage 3.

This commit is contained in:
Daniel Lemire
2018-12-31 14:03:43 -05:00
parent c5a396e788
commit 3a2f746602
2 changed files with 71 additions and 6 deletions
+2 -2
View File
@@ -40,12 +40,12 @@ bool json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, bool reallocifne
}
}
bool isok = find_structural_bits(buf, len, pj);
if (isok) {
/*if (isok) {
isok = flatten_indexes(len, pj);
} else {
if(reallocated) free((void*)buf);
return false;
}
}*/
if (isok) {
isok = unified_machine(buf, len, pj);
} else {