emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Emacs 'sort' API to use three-way comparison


From: Paul Eggert
Subject: Re: Change Emacs 'sort' API to use three-way comparison
Date: Sat, 30 Aug 2014 11:14:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

Lars Ingebrigtsen wrote:
It's slower in the sense that you said it's slower.

Ah yes, sorry, I should have been clearer in my earlier remarks. The new vector-sorting code can be considerably slower than sorting a list of the same length, if the comparison predicate is expensive. But existing code (which just sorts lists) should not be affected by this, as the list-sorting code is the same as before.

Anyway, I'm looking into a fix for all this.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]