|
From: | harven |
Subject: | Re: case-insensitive string< |
Date: | Fri, 17 Apr 2009 15:58:18 +0200 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) |
Nikolaj Schumacher <me@nschum.de> writes: > What's the fastest way to sort a large list of strings in a > case-insensitive order? > > Calling downcase on every string is rather expensive. Does anyone know > a better way? The sort built-in function uses string< as predicate. You could use compare-strings instead. It has an option IGNORE-CASE. Hope that helps.
[Prev in Thread] | Current Thread | [Next in Thread] |