Re: NSTextView HICocoaView performance
Re: NSTextView HICocoaView performance
- Subject: Re: NSTextView HICocoaView performance
- From: Marcel Weiher <email@hidden>
- Date: Thu, 9 Apr 2009 08:22:06 -0700
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@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