• 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: Faster way to test pixels?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Faster way to test pixels?


  • Subject: Re: Faster way to test pixels?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 26 May 2008 20:43:41 +1000


On 26 May 2008, at 9:44 am, Ken Ferry wrote:

The usual advice is to try drawing instead of looking at bytes.  It
really isn't so different.  Try this:

[]

Thanks again Ken,

This is a terrific method for doing this, works great, nice and fast. I haven't profiled it to get reliable figures yet but it's already changed the whole order of what stuff is taking time. The other huge advantage of this approach is that it allows me to cut out a lot of other code I was using (substituting black for white and other stuff that was needed before) so in itself that is going to be a huge win.

cheers, Graham
_______________________________________________

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


References: 
 >Faster way to test pixels? (From: Graham Cox <email@hidden>)
 >Re: Faster way to test pixels? (From: "Ken Ferry" <email@hidden>)

  • Prev by Date: Re: How hard is it to learn Cocoa - Survey ?
  • Next by Date: tables
  • Previous by thread: Re: Faster way to test pixels?
  • Next by thread: How to Delay, Wait, Pause...
  • Index(es):
    • Date
    • Thread