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

Improve BufferRecyclers configurability via JsonFactory #835

Open
cowtowncoder opened this issue Nov 2, 2022 · 0 comments
Open

Improve BufferRecyclers configurability via JsonFactory #835

cowtowncoder opened this issue Nov 2, 2022 · 0 comments

Comments

@cowtowncoder
Copy link
Member

(note: offshoot of #833)

While there is JsonFactory.Feature.USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING that allows turning off buffer recycling, there isn't any way to change, for example, default buffer sizes; or logic of what to recycle if anything (current logic will recycle bigger buffers if parser/generator has to realloc bigger ones).
It would be nice to be able to offer alternate configuration, 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