Optimized duplicate detection and removal

This commit is contained in:
Olof hagsand 2024-12-19 16:58:35 +01:00
parent ead9e8d666
commit 06e1a48480
7 changed files with 364 additions and 125 deletions

View file

@ -909,6 +909,16 @@ xml_child_order(cxobj *xp,
return -1;
}
/*! Advanced function to decrement _x_vector_i if objects have been removed
*/
int
xml_vector_decrement(cxobj *x,
int nr)
{
x->_x_vector_i -= nr;
return 0;
}
/*! Iterator over xml children objects
*
* @param[in] xparent xml tree node whose children should be iterated