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

feat: refactor sonic_rs::Value and support more configs #119

Merged
merged 4 commits into from
Nov 2, 2024
Merged

Conversation

liuq19
Copy link
Collaborator

@liuq19 liuq19 commented Oct 31, 2024

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:

  1. support parse features use_raw and use_rawnumber when parsing into sonic_rs::Value
  2. refactor the Value and not dependent on the thread_local arguments
  3. adjust the Value's layout, and reduce the memory usage (24 bytes -> 16 bytes per value)

zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@liuq19 liuq19 force-pushed the feat/newvalue branch 6 times, most recently from 19e2ff2 to f7abbdc Compare November 1, 2024 05:15
@liuq19 liuq19 marked this pull request as ready for review November 1, 2024 05:15
@liuq19 liuq19 marked this pull request as draft November 1, 2024 05:22
@liuq19 liuq19 marked this pull request as ready for review November 2, 2024 07:24
@liuq19 liuq19 merged commit 565b650 into main Nov 2, 2024
23 checks passed
@liuq19 liuq19 deleted the feat/newvalue branch November 2, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant