Performance: A change in the merge code made "co-located" config and non-config get retrieval go considerable faster.

This commit is contained in:
Olof hagsand 2023-05-29 10:47:00 +02:00
parent 3e34a61bd2
commit a97a66cb92
3 changed files with 8 additions and 3 deletions

View file

@ -520,7 +520,8 @@ validate_common(clicon_handle h,
&td->td_tcvec, /* changed: wanted values */
&td->td_clen) < 0)
goto done;
transaction_dbg(h, CLIXON_DBG_DETAIL, td, __FUNCTION__);
if (dbglevel & CLIXON_DBG_DETAIL)
transaction_dbg(h, CLIXON_DBG_DETAIL, td, __FUNCTION__);
/* Mark as changed in tree */
for (i=0; i<td->td_dlen; i++){ /* Also down */
xn = td->td_dvec[i];