https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89120

            Bug ID: 89120
           Summary: std::minmax_element 2.5 times slower than hand written
                    loop
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

std::minmax_element is slow when there's a lot of data and it does not fit into
the CPU cache: http://quick-bench.com/Z0iRfbm2_S9KvQ1C92ydh8USF-8

Reply via email to