Sun, 23 Nov 2025 13:15:19 +0100
optimize sorted insertion by using the infimum instead of the supremum
The reason is that the supremum returns the equal element with the smallest index, and we want the largest.
Therefore, we use the infimum, which already gives us the largest index when there are equal elements, and increase the index by one. The infimum is also guaranteed to exist in that case.
# API Documentation Documentation of the UCX API is available as [Doxygen API Docs](https://ucx.sourceforge.io/api/), generated from code, as well as handwritten documentation right here on this website. The Doxygen docstrings are written so that many IDEs can read them directly from the header files and generate useful quick help while you are typing your code. If you are looking for an overview and examples, refer to one of the Sections listed in the left menu.