jansson/src
Maxim Zhukov 78418c84f1 value, pack: use key length from json_object iternals
Reduce the number of strlen calls in the jansson backend.

Test on my laptop (count of the instructions)

  Before:
  ❯ valgrind --tool=callgrind ./bin/test_object
  ==3105045== Events    : Ir
  ==3105045== Collected : 441453

  After:
  ❯ valgrind --tool=callgrind ./bin/test_object
  ==3144451== Events    : Ir
  ==3144451== Collected : 440597

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2021-11-20 22:47:14 +03:00
..
dump.c reuse key len from loop check for better performance 2020-09-01 10:22:14 +03:00
error.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
hashtable_seed.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
hashtable.c introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
hashtable.h introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
jansson_config.h.in Use thread-safe reference counting if supported by the compiler. 2018-01-29 14:17:58 -05:00
jansson_private.h reuse key len from loop check for better performance 2020-09-01 10:22:14 +03:00
jansson.def introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
jansson.h jansson 2.14 2021-09-09 21:18:40 +03:00
load.c reuse key len from loop check for better performance 2020-09-01 10:22:14 +03:00
lookup3.h Fix hashsize() should return size_t. 2020-11-06 08:40:20 +11:00
Makefile.am jansson 2.14 2021-09-09 21:18:40 +03:00
memory.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
pack_unpack.c value, pack: use key length from json_object iternals 2021-11-20 22:47:14 +03:00
strbuffer.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
strbuffer.h Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
strconv.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
utf.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
utf.h Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
value.c value, pack: use key length from json_object iternals 2021-11-20 22:47:14 +03:00
version.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00