sonic-rs
sonic-rs copied to clipboard
Reusing storage allocated by from_slice
I am using this library in a project that needs to deserialize many small json messages and it's working great so thanks for that.
One goal I have is to remove allocations within the critical path, but it appears this library API does not allow me to reuse the scratch space or bump allocator that is used for each parsing call to from_slice. Is this accurate or did I miss something in the documentation?
could not reuse bump allocator and buffer now