Re: array performance
Re: array performance
- Subject: Re: array performance
- From: Michael Tsai <email@hidden>
- Date: Mon, 16 Jun 2003 20:52:10 -0400
On Friday, June 13, 2003, at 08:51 PM, Pete Yandell wrote:
Sort a C array of ints using the qsort function: 1.89 seconds
Sort a C array of NSNumbers using the qsort function: 22.08 seconds
Sort an NSMutableArray of NSNumbers using the sortUsingSelector:
method: 49.83 seconds
Sort an NSMutableArray of NSNumbers using the sortUsingFunction:
method: 21.09 seconds
How about sorting a CFMutableArray of ints using CFArraySortValues?
--
Michael Tsai <
http://www.c-command.com>
_______________________________________________
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.