Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.java.programmer Subject: Re: Did the sort do anything? Followup-To: comp.lang.java.programmer Date: Fri, 20 May 2011 18:49:27 +1200 Organization: Geek Central Lines: 8 Message-ID: References: NNTP-Posting-Host: 118-92-95-178.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: lust.ihug.co.nz 1305874167 31548 118.92.95.178 (20 May 2011 06:49:27 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Fri, 20 May 2011 06:49:27 +0000 (UTC) User-Agent: KNode/4.4.7 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4341 In message , Michael Wojcik wrote: > On the other hand, when sorts are used in most modern applications, > they're comparing keys that are located elsewhere in memory and > probably invoking a user-supplied comparison function ... Which is why Python, for example, has dropped the idea of a user comparison, and emphasized a user key function instead.