C-API: string to pointer map

Optimization of yspec+namespace lookup
Optimization of non-presence container default tree
This commit is contained in:
Olof hagsand 2024-12-27 17:53:38 +01:00
parent 3be786c211
commit b09e326307
10 changed files with 303 additions and 20 deletions

View file

@ -233,3 +233,16 @@
* A more intelligent algorithm is needed
*/
#define XML_DEFAULT_WHEN_TWICE
/*! If set, make optimized lookup of yspec + namespace -> module
*
* see yang_find_module_by_namespace
*/
#define OPTIMIZE_YSPEC_NAMESPACE
/*! If set, make optimization of non-presence default container
*
* Save the default XML in YANG and reuse next time
* see xml_default
*/
#define OPTIMIZE_NO_PRESENCE_CONTAINER