Re: Slow Cocoa
Re: Slow Cocoa
- Subject: Re: Slow Cocoa
- From: Jeff Biggus <email@hidden>
- Date: Sun, 15 Feb 2004 22:00:45 -0600
On Feb 15, 2004, at 9:40 PM, b.bum wrote:
On Feb 15, 2004, at 7:23 PM, Sam McCandlish wrote:
I am making an app that draws using Quartz. I used to use the C
functions, but then I started using NSBezierPath. When I tried that
everything was slower. I am guessing this is because of the
messaging. Is there a way to "speed up" objc? Thanks!
Did you run the profiling tools to determine where the extra cycles
are going?
It is unlikely that it is being consumed by method invocations and
much more likely that it is a difference between the way in which the
graphics context is initialized or the parameters by which the
NSBezierPath is doing its calculation vs. the C functions.
Post some comparison code too, if it's not a hassle. I'd be interested
in seeing where others optimize this kind of stuff. I have done some
good speed ups in the past, but never sure that I'm really doing all I
can.
_______________________________________________
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.