• 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
Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")


  • Subject: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • From: mathew <email@hidden>
  • Date: Sat, 3 Apr 2004 01:25:40 -0500

On Mar 24, 2004, at 16:38, Alastair Houghton wrote:
> Actually I think Uli should be using the Carbon routines
> (FSCatalogSearch() I think, although I'm sure Uli knows more about
> Carbon than I do as it happens ;->) to scan for all MacPAD.url files on
> the disk, because that should really fly on HFS+ disks due to the way
> HFS+ works. It's much faster than the "find" command will *ever* be,
> especially on disks with lots of directories.

Interesting... Apple's documentation says that for maximum speed, you
should use the BSD APIs for file access. Which makes sense, if you
think about it, because Carbon is layered on top of the underlying
Darwin system.

Anyone feel like doing some speed comparisons between Cocoa, Carbon and
BSD for trawling every folder on a big hard disk, to put this one to
rest?


mathew

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
      • From: Reed Hedges <email@hidden>
    • Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
      • From: Alastair Houghton <email@hidden>
    • Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: Full screen borderless window
  • Next by Date: Cocoa App Package Question
  • Previous by thread: Mouse-moved events
  • Next by thread: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Index(es):
    • Date
    • Thread