• 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: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?


  • Subject: Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?
  • From: Rosyna <email@hidden>
  • Date: Tue, 12 Sep 2006 08:19:47 -0700

Ack, at 9/12/06, Alan Smith said:

Yes, I see what you mean but FSIterator returns the full path.

It returns an iterator for use with FSGetCatalogInfoBulk. There is no full path returned. Search the list archives and carbon-dev's list archives for FSGetCatalogInfoBulk for some dang fast iteration methods.


Also, you could say I should use a HFSUniStr255 in
FSGetCatalogInfoBulk instead of a FSRef. I tried that and due to the
fact that FSOpenIterator takes a FSRef, and I have to create lots of
iterators because it can't use kFSIterateSubtree, I saw no performence
improvement.

You'd use both the name and the FSRef from FSGetCatalogInfoBulk, you do not have to choose one or the other. You can get both.
--



Sincerely, Rosyna Keller Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()? (From: "Alan Smith" <email@hidden>)
 >Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?
  • Next by Date: Re: Re: Way to control another App's window
  • Previous by thread: Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?
  • Next by thread: Re: Is there a *much* faster FSRef conversion than CFURLCreateFromFSRef()?
  • Index(es):
    • Date
    • Thread