summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-10-09 22:20:26 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-10-11 21:18:36 -0300
commit0de19c0e0a8e4f8de4f3e27220f53fae33a6f817 (patch)
tree2c1d469d0b1c34ca75a539d0f41c76cd7c56472d /lib/json.c
parentfe3f2c61939a9dda27bf84feb4312f92bf1e1bb5 (diff)
lib: reduce memory allocation when processing large config transactions
Remove the xpath field from the nb_config_cb structure in order to reduce its size. This allows the northbound to spend less time allocating memory during the processing of large configuration transactions. To make this work, use yang_dnode_get_path() to obtain the xpath from the dnode field whenever necessary. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions