You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Printing JSON to a string is slow (i.e., in json_value_print), probably because of all the string reallocations. Likely it could be sped up by allocating in chunks to reduce the number of allocations.
The text was updated successfully, but these errors were encountered:
This was done by reducing the number of string allocations during this process. The string is now allocated in chunks of 1000 characters (which is sort of arbitrary).
Some minor refactoring also.
Printing JSON to a string is slow (i.e., in
json_value_print
), probably because of all the string reallocations. Likely it could be sped up by allocating in chunks to reduce the number of allocations.The text was updated successfully, but these errors were encountered: