1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-12-04 06:38:23 +01:00
ultrajson/lib
JustAnotherArchivist f4d2c87ab6 Refactor buffer reservations to ensure sufficient space on all additions
* Removed the reservations in Buffer_EscapeStringUnvalidated and Buffer_EscapeStringValidated as those are not needed and may hide other bugs.
* Debug check in Buffer_EscapeStringValidated was triggering incorrectly.
* The reservation on JT_RAW was much larger than necessary; the value is copied directly, so the factor six is not needed, and this may hide other bugs.
* Explicit accurate reservations everywhere else.
2022-04-05 21:04:39 +01:00
..
dconv_wrapper.cc dconv no longer uses global instances of StringToDoubleConverter/DoubleToStringConverter 2021-08-03 10:17:10 -04:00
Makefile Lint end-of-file-fixer 2020-05-12 09:36:47 +03:00
ultrajson.h Remove the hidden JSON_NO_EXTRA_WHITESPACE compile knob. 2022-04-05 21:04:39 +01:00
ultrajsondec.c Fix nan bug in pandas port 2022-04-04 13:56:19 -04:00
ultrajsonenc.c Refactor buffer reservations to ensure sufficient space on all additions 2022-04-05 21:04:39 +01:00