• 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: Where is my bicycle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is my bicycle?


  • Subject: Re: Where is my bicycle?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 07 Apr 2015 17:17:25 +0000

On Apr 7, 2015, at 02:21 , Gerriet M. Denkmann <email@hidden> wrote:
>
> it allowed me to create a replacement for characterSetWithCharactersInString: which actually works

The only suggestion I have is to return ‘mus.copy’ instead of ‘mus’.

Given that we know NSCharacterSet has some optimized internal representations, it’s possible that NSMutableCharacterSet doesn’t use them, since there’s no point until you’re “finished” mutating. If you’re using a wide range of UTF-32 values, the mutable object might be quite large, and taking a immutable copy might produce a very much smaller object.

Or not.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Where is my bicycle? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Where is my bicycle? (From: Quincey Morris <email@hidden>)
 >Re: Where is my bicycle? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Assuring KVO compliance.
  • Next by Date: Re: Making an array property without a backing store. How?
  • Previous by thread: Re: Where is my bicycle?
  • Next by thread: Gain access to resolved folder alias under sandboxing
  • Index(es):
    • Date
    • Thread