Re: How to best store references to disk items, not using paths?
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