• 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: How to best store references to disk items, not using paths?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to best store references to disk items, not using paths?


  • Subject: Re: How to best store references to disk items, not using paths?
  • From: Thomas Tempelmann <email@hidden>
  • Date: Fri, 13 Mar 2009 16:51:59 +0100

On Fri, Mar 13, 2009 at 15:57, Dave Camp <email@hidden> wrote:
>> To make a FileID lookup an instant response, the cat search code would
>> have to special-case this single ID lookup, and I doubt that any FS
>> implementation does do that.
>
> I'm a bit rusty on my HFS internals, but I seem to remember there are cases
> where HFS will create a thread record for a CNID, in which case the lookup
> would be almost instantaneous (i.e. it could resolve the file going down the
> tree instead of scanning all the leaf nodes).

Yes, that's right. HFS+ does that even for every item by default
(while on HFS Standard you'd have to issue a special call to have it
created per item, on demand).

But that still doesn't make the FSCatalogSearch use this information for
instant lookup, even though it could if it would special-case this one
- that was my point.

--
Thomas Tempelmann, http://www.tempel.org/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >How to best store references to disk items, not using paths? (From: Thomas Tempelmann <email@hidden>)
 >Re: How to best store references to disk items, not using paths? (From: Thomas Tempelmann <email@hidden>)
 >Re: How to best store references to disk items, not using paths? (From: Thomas Tempelmann <email@hidden>)
 >Re: How to best store references to disk items, not using paths? (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: How to best store references to disk items, not using paths?
  • Next by Date: Getting "Bay" information
  • Previous by thread: Re: How to best store references to disk items, not using paths?
  • Next by thread: Re: How to best store references to disk items, not using paths?
  • Index(es):
    • Date
    • Thread