Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider updating to simdjson 0.2.0 #15

Open
lemire opened this issue Aug 1, 2019 · 2 comments
Open

Consider updating to simdjson 0.2.0 #15

lemire opened this issue Aug 1, 2019 · 2 comments

Comments

@lemire
Copy link

lemire commented Aug 1, 2019

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).
@EgorBo
Copy link
Owner

EgorBo commented Aug 1, 2019

@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
Copy link
Author

lemire commented Aug 1, 2019

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants