Re: Fastest way to replace characters in string
Re: Fastest way to replace characters in string
- Subject: Re: Fastest way to replace characters in string
- From: Keary Suska <email@hidden>
- Date: Thu, 22 Aug 2013 11:22:11 -0600
On Aug 22, 2013, at 9:06 AM, Jens Alfke wrote:
> create the empty output mutable string with sufficient capacity (i.e. maybe 2x the input string length)
On an entirely different note, does the various initWithCapacity methods of mutable classes actually do any pre-allocation? Last I understood they really didn't...
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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