SimdJsonSharp icon indicating copy to clipboard operation
SimdJsonSharp copied to clipboard

Consider updating to simdjson 0.2.0

Open lemire opened this issue 6 years ago • 2 comments

The library simdjson has a new major release (0.2.0). Major changes:

  • Support for 64-bit ARM processors, can run under iOS (iPhone).
  • Runtime dispatching on x64 processors (switches to SSE on older x64 processors, uses AVX2 when available). Supports processors as far back as the Intel Westmere.
  • More accurate number parsing.
  • Fixes most warnings under Visual Studio.
  • Several small bugs have been fixed.
  • Better performance in some cases.
  • Introduces a JSON Pointer interface https://tools.ietf.org/html/rfc6901
  • Better and more specific error messages (with optional textual descriptions).
  • valgrind clean.
  • Unified code style (LLVM).

lemire avatar Aug 01 '19 20:08 lemire

@lemire Thanks! will update the native bindings.

Runtime dispatching on x64 processors (switches to SSE on older x64 processors, uses AVX2 when available). Supports processors as far back as the Intel Westmere.

I've just updated the full managed port, it already supports SSE/AVX dispatch :) e.g. https://github.com/EgorBo/SimdJsonSharp/blob/master/src/FullyManagedImpl/stage1_find_marks.cs#L104 (JIT will eliminate one of the branches depending on client hw)

The managed port still needs some C#-specific performance tweaks to be more or less close to C++.

EgorBo avatar Aug 01 '19 20:08 EgorBo

+1

lemire avatar Aug 01 '19 20:08 lemire