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: CFMutableStringRef creation question



On Fri, 20 Jan 2006 16:43:54 -0500 Laurence Harris <email@hidden> wrote:

Do the immutable variants offer any advantages over their mutable counterparts?

In the particular case we are talking about, you can get the same cached instance of a CFStringRef each time you ask for a localized string, but a CFMutableString would have to be copied for you (or to use copy-on-write, mutexes, and such).


- WBR, Alexey Proskuryakov
_______________________________________________
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: CFMutableStringRef creation question (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.