Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSDirectorySize code finished



Well, if you want to know...

http://www.opensource.apple.com/darwinsource/10.4.2/CF-368.11/Collections.subproj/CFData.c

It's not a snog.

Ack, at 10/30/05, Laurence Harris said:

Yes, into 80 bytes of a contiguous block that's already allocated 99.9% of
the time. You aren't just storing pointers, you're allocating memory,
copying the FSRef to that newly allocated memory, and then storing a pointer
to that allocated memory into an array. And that's the overview. Since
you're using CFTypes, there's also reference count management and possibly
more going on than simply copying 80 bytes of FSRef into a newly allocated
block of memory when the CFDataRef is created (I honestly don't know what CF
does to create a CFDataRef).

--


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.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: FSDirectorySize code finished (From: Laurence Harris <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.