--- a/CHANGELOG Sat Nov 22 19:16:27 2025 +0100 +++ b/CHANGELOG Sun Nov 23 12:19:24 2025 +0100 @@ -38,6 +38,8 @@ * changes struct cx_array_reallocator_s by replacing the four generic data members with two specifically named members * changes cx_array_reserve() so that it reserves exactly the requested capacity (i.e., without overallocation) * changes all other array functions to perform smart overallocation to avoid too many subsequent allocations + * changes that binary search and infimum always report the largest index, and supremum always reports the smallest index + when the found element appears more than once in the array * fixes critical memory overflow in the stack-based array reallocator (this unfortunately breaks the function signature) * fixes critical bug in cx_array_insert_sorted() that caused an infinite loop when inserting duplicates * fixes mempool implementation not supporting NULL as argument for realloc