NSTextView/text system slowdown on Leopard
NSTextView/text system slowdown on Leopard
- Subject: NSTextView/text system slowdown on Leopard
- From: Keith Blount <email@hidden>
- Date: Mon, 4 Feb 2008 12:40:31 -0800 (PST)
Hi,
Some of my users on older machines - G4s with less than 1.5GhZ processors - have been reporting a massive slowdown of typing in my app since upgrading to Leopard. I originally built this application on a 1Ghz G4 iBook and ensured it was fast. However, upgrading that iBook to Leopard and testing on it again confirms what users have told me - code that ran quickly on Leopard is much slower on Tiger.
I discussed this with another developer and he tells me that from his own observations, it seems that Tiger used to coalesce keystrokes so that it did not attempt to draw at every stroke, whereas Leopard draws all the time. I'm aware that the text system has been optimised for Leopard, but it seems to cause problems for older PPC machines.
Is there anything I can do about this? I can reproduce the slowdown in almost any app that uses an NSTextSystem. If I unplug my iBook to use less processing power, then paste a couple of thousand words into TextEdit and start typing somewhere inside the text (works fine at the bottom), typing is a slow trudge, with drawing struggling to keep up with my key strokes. There was no such problem on Tiger.
So, I'm just wondering if, 1) this is an issue that I need to file a bug report on, or 2) there is something I can do to optimise the performance of text in Leopard for slower machines.
Thanks in advance and all the best,
Keith
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
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:
This email sent to email@hidden