Sometimes we want to merge two (or more) sets of non-dominated solutions, i.e., every solution in a set is non-dominated compared to the other solutions in the same set, but may be dominated, or dominate, solutions in other sets. As an example, we may want to keep an updated archive of non-dominated solutions while running an MOEA. Simply merging the set and then running moocore.is_nondominated can involve a large number of unnecessary comparisons.
I am not too familiar with C, so here's an example Python/numba implementation from DESDEO: non_dominated_merge