Tyler Kennedy
Tyler Kennedy
Prerequisite to unblock this done in #110.
Avoided entirely by using `parse_into_document` and removing long-lived object proxies in #110.
Unfortunately the gotcha still exists even with the matured API - it's the same reason pysimdjson has avoided it so far. Given the overwhelming overhead of object construction, the only...
@jkeiser that would be an interesting approach and it would be nice functionality to have for other things (cases when the end user knows they will need the entire document...
Ah, I might have misunderstood. The source of the buffer is coming from python, (which will *usually* already be in utf-8 internally, so we can get a 0 cost string...
I'm not sure what @ateska's plans are for this repo (I feel like I'm hijacking his issue :)) but on the pysimdjson side ideally we'd get something like... ```c from_buffer(const...
In all of the cases where this change is being made, is the parsed JSON fully utilized? If there are cases where the JSON is only parsed for a routing...
Closing due to lack of reproducible example.
Updated
Should work fine, just needs the JSON extension to be loaded into sqlite which is the default on most (all?) distro distributions and most binary python distributions.