* C-API: Added xpath_first_localonly() as an xpath function that skips prefix and namespace checks.
* Added experimental code for optizing XPath search using binary search. * Enable with XPATH_LIST_OPTIMIZE * Changed `clicon_rpc_generate_error(msg, xerr)` to `clicon_rpc_generate_error(xerr, msg, arg)`
This commit is contained in:
parent
ab46ce9820
commit
7ad16bd84b
56 changed files with 602 additions and 227 deletions
|
|
@ -58,3 +58,9 @@
|
|||
* on the top-level for the modules involved in the netconf operation.
|
||||
*/
|
||||
#define IDENTITYREF_KLUDGE
|
||||
|
||||
/*! Optimize special list key searches in XPATH finds
|
||||
* Identify xpaths that search for exactly a list key, eg: "y[k=3]" and then call
|
||||
* binary search. This only works if "y" has proper yang binding and is sorted by system
|
||||
*/
|
||||
#undef XPATH_LIST_OPTIMIZE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue