On Jan 19, 2015, at 1:28 PM, Maxim Kuvyrkov <maxim.kuvyr...@linaro.org> wrote: > > Yes, the ordering relation is screwed, as you put it. With the number of > independent heuristics that rank_for_schedule has to consider there is no > other way then to have a "screwed" ordering.
I have not seen a proof that an working comparison routine is impossible. I can’t fathom why anyone would think that. Still perplexed. > I don't think we can afford sacrificing code quality to gain independency > from number of elements being sorted. A working comparator has nothing to do with the number of elements, so, I can’t fathom why you mention the number of elements. A working comparator should, in theory improve code quality. However, even if it didn’t, that's immaterial. We’d fix the bug irrespective of code quality, just to fix the bug.