• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Optimizing Enormous lists in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Optimizing Enormous lists in NSBrowser (From: Scott Ribe <email@hidden>)
 >Re: Optimizing Enormous lists in NSBrowser (From: Dave DeLong <email@hidden>)
 >Re: Optimizing Enormous lists in NSBrowser (From: Graham Cox <email@hidden>)
 >Re: Optimizing Enormous lists in NSBrowser (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Core Data threading fun
  • Next by Date: Debugging IB 3.2 problem
  • Previous by thread: Re: Optimizing Enormous lists in NSBrowser
  • Next by thread: Re: Optimizing Enormous lists in NSBrowser
  • Index(es):
    • Date
    • Thread