| 610 | // Use `fl::sort` (quicksort) when the container is unbounded or large. |
| 611 | template <typename Iterator, typename Compare> |
| 612 | void sort_small(Iterator first, Iterator last, Compare comp) FL_NOEXCEPT { |
| 613 | if (first == last || first + 1 == last) { |
| 614 | return; // Already sorted or empty |
| 615 | } |
| 616 | detail::insertion_sort(first, last, comp); |
| 617 | } |
| 618 | |
| 619 | template <typename Iterator> |
| 620 | void sort_small(Iterator first, Iterator last) FL_NOEXCEPT { |
no test coverage detected