summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2020-06-07 18:45:17 +0000
committerEric Haszlakiewicz <erh+git@nimenees.com>2020-06-07 18:45:17 +0000
commit02fe2e0ccd77dfed8ae02e4abd8d41c5379364f7 (patch)
tree9520f7f887803d6c87d92b0108156a1fe8e24a41
parentecdfeb18cf8df1bf519785f3353d1e4ab87c3a9c (diff)
downloadjson-c-02fe2e0ccd77dfed8ae02e4abd8d41c5379364f7.tar.gz
Summarize the changes from the json_object-split branch in the ChangeLog.
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a58d19..afb5155 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,13 @@ Other changes
* Issue #471: always create directories with mode 0755, regardless of umask.
* Added a JSON_TOKENER_ALLOW_TRAILING_CHARS flag to allow multiple objects
to be parsed even when JSON_TOKENER_STRICT is set.
+* Split the internal json_object structure into several sub-types, one for
+ each json_type (json_object_object, json_object_string, etc...).
+ This improves memory usage and speed, with the benchmark under
+ bench/ report 5.8% faster test time and 6%(max RSS)-12%(peak heap)
+ less memory usage.
+ Memory used just for json_object structures decreased 27%, so use cases
+ with fewer arrays and/or strings would benefit more.
***