On Apr 9, 2009, at 7:51 , Ryan Joseph wrote:
On Apr 9, 2009, at 9:42 PM, Marcel Weiher wrote:
On Apr 9, 2009, at 1:06 , Ryan Joseph wrote:

[NSTextView in  HICocoaView performance problems]

[requests for more information]

I have used NSTextView in Cocoa windows without the HICocoaView and there is no problem so I assume this is a HICocoaView issue.

Sounds like a reasonable assumption...which 30 seconds with Shark would allow you to confirm or refute: launch Shark, launch your app, <alt><esc> do operation <alt><esc>.

Is the TextEdit example Carbon?

No.

No, I have not done any performance tests because I don't have any control over the API's, NSScrollView/NSTextView and can not make optimizations. At around 1000+ lines if you insert/delete lines at the top (i.e. low offsets) the problem is there.

Hmm...that's odd and makes me wonder wether HICocooaView is the right suspect: the (layout) computations that are data-dependent shouldn't really have any interactions with the container that the text-view is in, and certainly shouldn't have a need for them. Maybe there is something else going on?

Marcel

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to