diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-16 13:14:14 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-16 13:14:14 +0100 |
commit | ff441aa908ad48ab5d197f4efd7d6e879fe185a2 (patch) | |
tree | 51437597c2c27b7a1d86a2ac36989efc2624ef38 /lib/fs.c | |
parent | 181fde5208efa0d45126327dd0c4197e1a63fd90 (diff) |
lib: optimize length() for objects
Instead of counting the keys individually, use the existing
json_object_object_length() function.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib/fs.c')
0 files changed, 0 insertions, 0 deletions