I'm curious if there is any interest in adding support for custom allocators to folly::dynamic and folly::parseJson. I have a use case where JSON parsing is in a latency sensitive path and I have the latitude to do all of the allocation associated with parsing on the stack and using only copy and move semantics to extract values from the resulting folly::dynamic object.
Is there a way of achieving this currently and I missed it? If not would this be a welcome addition to the codebase?
I'm curious if there is any interest in adding support for custom allocators to
folly::dynamic
andfolly::parseJson
. I have a use case where JSON parsing is in a latency sensitive path and I have the latitude to do all of the allocation associated with parsing on the stack and using only copy and move semantics to extract values from the resultingfolly::dynamic
object.Is there a way of achieving this currently and I missed it? If not would this be a welcome addition to the codebase?
Thanks!