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

Feature: Disable fields caching by flag #580

Closed
vadimalekseev opened this issue Jan 30, 2024 · 1 comment · Fixed by #581
Closed

Feature: Disable fields caching by flag #580

vadimalekseev opened this issue Jan 30, 2024 · 1 comment · Fixed by #581
Labels
enhancement New feature or request

Comments

@vadimalekseev
Copy link
Collaborator

insane-json by default caches Node fields if the number of fields in it exceeds 16 (default). We want to disable this behavior by a new flag.

See insaneJSON.UseMapThreshold and Dig func for more information

@vadimalekseev vadimalekseev added the enhancement New feature or request label Jan 30, 2024
@vadimalekseev
Copy link
Collaborator Author

Why we need this:

(allocs profile)

image

Prometheus allocations fixed in #411.

This issue may fix .Dig allocations.

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

Successfully merging a pull request may close this issue.

1 participant