-
Notifications
You must be signed in to change notification settings - Fork 317
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
optimize: use SIMD to accelerate json.Compact #414
Labels
good first issue
Good for newcomers
Comments
liuq19
changed the title
optimize: use SIMD to accelerate the compat functions
optimize: use SIMD to accelerate json.Compact
May 23, 2023
Yeah. I think it is a good solution, welcome to try it. And we could use shuffle to compute the space mask. https://github.com/bytedance/sonic/blob/main/native/fastbytes.c#L36 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compat: now is use the encoding/json API, it is slow and we can use SIMD in native C to accelerate it.
The text was updated successfully, but these errors were encountered: