mozilla/rust — pull request #3293 by jld (2012-08-28 07:38:28+00:00)
Title: De-abstract std::sort:qsort3, which uses only the trait-based lt/eq.

quick_sort3 was converted from fn parameters to traits in d9cdddeb, but
was still passing around closures over core::cmp::{eq,lt} internally,
and LLVM doesn't and/or can't pick up that they're effectively constant.

Reduces time spent to sort a large random ~[uint] by 16% in my testing.