| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Do not fix typos from past commits found in release notes.
|
| | |
|
| | |
|
| |
|
|
| |
json_type_string's with the default serializer set, and provide a way for people using custom serializers to provide a custom shallow_copy method.
|
|
|
Seems to perform better than outputting to string
and re-parsing it.
BENCHMARK - 1000000 iterations of 'dst2 = json_tokener_parse(json_object_get_string(src2))' took 20 seconds
BENCHMARK - 1000000 iterations of 'dst2 = json_tokener_parse(json_object_get_string(src2))' took 7 seconds
It should make a difference on embedded systems.
The test was performed on a i5 desktop CPU [~3.5 years of age].
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|