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

perf: switch to json decoder and reduce heap usage #47

Merged
merged 4 commits into from
Jul 24, 2023

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    84a379c View commit details
    Browse the repository at this point in the history
  2. perf: further optimize for common/correct scenario

    we only care about the structs fields if there is an error but since this
    should not be the norm, we can optimize the most common case by storing a
    counter, significantly decreasing the slice memory usage.
    kruskall committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    fb5df5f View commit details
    Browse the repository at this point in the history
  3. fix: json parsing error

    kruskall committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    21f87f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5d831ba View commit details
    Browse the repository at this point in the history