EgorBo / SimdJsonSharp

C# bindings for lemire/simdjson (and full C# port)
Apache License 2.0
646 stars 41 forks source link

Consider updating to simdjson 0.2.0 #15

Open lemire opened 5 years ago

lemire commented 5 years ago

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

EgorBo commented 5 years ago

@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++.

lemire commented 5 years ago

+1