simdjson / simdjson-java

A Java version of simdjson, a high-performance JSON parser utilizing SIMD instructions
Apache License 2.0
288 stars 22 forks source link

reset bitindex twice #62

Open heykirby opened 1 day ago

heykirby commented 1 day ago

hello, piotrrzysko. In class of SimdJsonParser, bitIndexes will be reset twice each time json is parsed. once in the function of reset, another in the function of stage1, for bitIndexes variable of SimdJsonParser equal to bitIndexes variable of StructuralIndexer. so maybe we can reset once.

image image