Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sorting large tables




On 13 Mar '08, at 8:34 PM, Daniel Child wrote:

It sounds like my program shouldn't be freezing in the first place, since my files are not THAT big. Here are the details.

The most useful details would involve a sample* of what your program's doing. My guess is that it's just taking an extremely long time to finish, perhaps because your comparison function is slow**, or because the working set exceeds available physical RAM.


—Jens

* Use Activity Monitor to sample the process.
** Especially if you left that NSLog call in there. Logging is very slow, relatively speaking.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: sorting large tables (From: Daniel Child <email@hidden>)
 >Re: sorting large tables (From: Jens Alfke <email@hidden>)
 >Re: sorting large tables (From: Daniel Child <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.