Re: Where is my bicycle?
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