simdjson-java
simdjson-java copied to clipboard
A Java version of simdjson, a high-performance JSON parser utilizing SIMD instructions
Good to know that the schema-based parsing were implemented! I have two more questions: 1. As line 54 in src/main/java/org/simdjson/SchemaBasedJsonIterator.java says: "Lists at the root are not supported. Consider using...
I make a peformance test between simdjson and jackson, the result is simdjson slower much than jackson. why? the result: SimdJson deserialize run 100000 cost 80532ms; Jackson deserialize run 100000...
How to use the idea 
Should help with #9, the performance is still kind of low though (half of what jsoniter shows)
Hi, My understanding that the key benefit of SIMD is that we can "progressively" parse a stream of JSON hence the tape reading like implementation. Although in benchmarks with varying...
In class JsonValue, the default size of buffer and stringBuffer, as well as long[] tape in class Tape, is 34M. But in practice it's not necessary. This patch reduce the...
I'm running code below: ``` private final SimdJsonParser simdJsonParser = new SimdJsonParser(); String str1 = "{\"a\": \"1\", \"b\": \"11\", \"c\": \"111\"}"; byte[] buffer1 = str1.getBytes(); JsonValue simdJsonValue1 = simdJsonParser.parse(buffer1, buffer1.length);...
Simdjson cannot compress structures for example json ` { "field1": { "field2": "xx" } } ` I cannot get the compressed value for **field1**, value is **{ "field2": "xx" }**
for example json: `{ "field1": { "field2": "xx" } }` ` SimdJsonParser parser = new SimdJsonParser();\n JsonValue value = parser.parse(json.getBytes(), json.length()); value.get("field1").get("field3").toString(); ` The above program will throw a null...