* Experimental optimzations of yang-bind and sort for large lists

* Enabled by compile-time options: `OPTIMIZE_45_BIND` and `OPTIMIZE_45_SORT`
This commit is contained in:
Olof hagsand 2020-05-01 17:08:32 +02:00
parent b8ec6a4957
commit 82529a2f16
23 changed files with 215 additions and 51 deletions

View file

@ -744,7 +744,7 @@ restconf_insert_attributes(cxobj *xdata,
goto done;
}
if (nsc)
xml_sort(xdata, NULL); /* Ensure attr is first */
xml_sort(xdata); /* Ensure attr is first */
cprintf(cb, "/>");
retval = 0;
done: