• 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: Which alternate row color spec is correct?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which alternate row color spec is correct?


  • Subject: Re: Which alternate row color spec is correct?
  • From: "Clark S. Cox III" <email@hidden>
  • Date: Wed, 6 Aug 2003 09:28:02 -0400

On Tuesday, August 05, 2003, at 16:32, Jens Bauer wrote:
On Tuesday, Aug 5, 2003, at 19:40 Europe/Copenhagen, Dave Thorup wrote:
In that case, on average you're going to be painting just as many blue rows
one way as you will the other way.

If you always skip the first, you'll have a chance of drawing one row *less*.

imagine you have room for 9 columns on the screen. Blue is represented by a 1 bit, white by a 0 bit:

1010101 = 4 blue rows, 3 white rows (first row is blue)
0101010 = 3 blue rows, 4 white rows (first row is white)

I'm sure we all have better things to worry about than the number of rows that must be painted blue. Besides, I can't imagine painting a row blue is that much more expensive than painting a row white.


--
http://homepage.mac.com/clarkcox3/
email@hidden
Clark S. Cox, III
_______________________________________________
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.

  • Follow-Ups:
    • Re: Which alternate row color spec is correct?
      • From: Jens Bauer <email@hidden>
References: 
 >Re: Which alternate row color spec is correct? (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: break, continue, goto
  • Next by Date: Re: break, continue, goto
  • Previous by thread: Re: Which alternate row color spec is correct?
  • Next by thread: Re: Which alternate row color spec is correct?
  • Index(es):
    • Date
    • Thread