• 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: Bad performance of -commonPrefixWithString:options:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Bad performance of -commonPrefixWithString:options: (From: Norbert Heger <email@hidden>)

  • Prev by Date: Re: Objective-C (Possibly OT)
  • Next by Date: Re: NSWorkspaceDidTerminateApplicationNotification bug?
  • Previous by thread: Bad performance of -commonPrefixWithString:options:
  • Next by thread: Sorting an NSDictionary?
  • Index(es):
    • Date
    • Thread