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

internal/encoder/vm_indent.Run is huge #481

Open
swenson opened this issue Nov 2, 2023 · 0 comments
Open

internal/encoder/vm_indent.Run is huge #481

swenson opened this issue Nov 2, 2023 · 0 comments

Comments

@swenson
Copy link

swenson commented Nov 2, 2023

I was doing some binary analysis, and noticed that on linux/amd64, the github.com/goccy/go-json/internal/encoder/vm_indent.Run function alone is 128,213 bytes in size, by far the largest function in any of our dependencies. This is a pretty big function for indentation for an indirect dependency.

It would be nice to trim down the weight of goccy, if possible.

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

1 participant