On 10/30/05 9:13 PM, Rosyna didst favor us with:
> Well, if you want to know...
>
> http://www.opensource.apple.com/darwinsource/10.4.2/CF-368.11/Collections.subp
> roj/CFData.c
>
> It's not a snog.
a) What's a snog? LOL
b) Sure looks like enough code to give push_back a decided advantage. ;-)
Larry
>
> 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).
_______________________________________________
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