Re: Optimizing Enormous lists in NSBrowser
Re: Optimizing Enormous lists in NSBrowser
- Subject: Re: Optimizing Enormous lists in NSBrowser
- From: Alastair Houghton <email@hidden>
- Date: Mon, 21 Sep 2009 19:48:52 +0100
On 21 Sep 2009, at 17:27, Jens Alfke wrote:
(In practice, the HFS+ filesystem does return filenames in
alphabetical order, although I think it's just sorted by Unicode
codepoint,
It's a little more complicated in practice; case-insensitive HFS+
sorts by means of a case-insensitive comparison that's defined in the
spec. Case-sensitive HFS+ sorts by UTF-16 code unit.
However, you can't rely on this behaviour, since as you rightly point
out, other filesystems may return filenames in any order. And, of
course, case-sensitive HFS+ sorts differently from case-insensitive.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden