Re: Bad performance of -commonPrefixWithString:options:
Re: Bad performance of -commonPrefixWithString:options:
- Subject: Re: Bad performance of -commonPrefixWithString:options:
- From: Ali Ozer <email@hidden>
- Date: Mon, 14 Jan 2002 18:19:45 -0800
On Monday, January 14, 2002, at 06:04 PM, Norbert Heger wrote:
>
I just discovered that the following NSString category method:
>
...
>
performs about 30 times (!!!) faster than the equivalent NSString
>
implementation -commonPrefixWithString:options:
Hmm, the standard one seems to also take various Unicode issues into
account, but still, seems like it should do better. We'll look at it;
thanks,
Ali