https://bugs.llvm.org/show_bug.cgi?id=40533

            Bug ID: 40533
           Summary: std::minmax_element is 3 times slower than hand
                    written loop
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: antosh...@gmail.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com

Moreover, std::minmax_element is slower than calling
std::min_element+std::max_element if there's a lot of data and it does not fit
into the CPU cache: http://quick-bench.com/tlgxCx9CUMZgOfYbwhFaEI0WNOg

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to