Fastest replace method
Fastest replace method
- Subject: Fastest replace method
- From: Peter Schols <email@hidden>
- Date: Mon, 13 Oct 2003 19:31:53 +0200
Hi,
I'm working with strings of about 250.000 characters (DNA sequences) in
which some (about 50-100) substrings need to be replaced or removed.
For the moment, I'm using the componentsSeparatedByString:@" " /
componentsJoinedByString:@"" approach but I have come across another
method: replaceOccurrencesOfString:@" " withString:@"" and I'm
wondering which one would be the fastest.
Thanks in advance!
Peter Schols
Laboratory of Plant Systematics - K.U.Leuven
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.