• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Slow Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Slow Cocoa (From: Sam McCandlish <email@hidden>)
 >Re: Slow Cocoa (From: "b.bum" <email@hidden>)

  • Prev by Date: Re: Slow Cocoa
  • Next by Date: Better way to deal with NSFontPanel in a preference pane
  • Previous by thread: Re: Slow Cocoa
  • Next by thread: Re: Slow Cocoa
  • Index(es):
    • Date
    • Thread