• 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: Public Look <email@hidden>
  • Date: Mon, 16 Feb 2004 15:44:31 -0500

For the record, the archive is corrupted for this thread. I did NOT
write the following article that is attributed to me:
http://cocoa.mamasam.com/COCOADEV/2004/02/2/84595.php

I did write the following text which as far as I can tell has been
swallowed by the archives:

Begin forwarded message:

> From: Public Look <email@hidden>
> Date: February 16, 2004 10:47:05 AM EST
> To: Sam McCandlish <email@hidden>
> Cc: email@hidden
> Subject: Re: Slow Cocoa
>
> Objective-C messaging is unlikely to have any significant impact on
> drawing speed. The messaging overhead is negligible compared to the
> processing needed to paint anti-aliased pixels. The only way I would
> suspect messaging overhead is if you were using multiple messages to
> paint every pixel.
>
> Quartz has interesting and non-intuitive performance characteristics.
> Many paths with few segments can be drawn much faster than few paths
> with many segments. There is a huge combinatorial overhead associated
> with the join and intersection of segments within a path. When you
> started using NSBezierPath, did you also start creating complex paths
> with many segments ?
>
> See past threads on this topic in the archives:
> http://cocoa.mamasam.com/COCOADEV/2002/04/1/30630.php
> http://cocoa.mamasam.com/COCOADEV/2002/02/1/24334.php
>
> On Feb 15, 2004, at 10: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!
>> _______________________________________________
>> 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.
_______________________________________________
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: John Randolph <email@hidden>)
 >Re: Slow Cocoa (From: Sam McCandlish <email@hidden>)

  • Prev by Date: Re: Cant't use UTF-8 source files. False string interpretation.
  • Next by Date: Re: how to save styled text
  • Previous by thread: Re: Slow Cocoa
  • Next by thread: Re: Slow Cocoa
  • Index(es):
    • Date
    • Thread