logoalt Hacker News

trelbutatetoday at 9:12 AM6 repliesview on HN

> To be fair excel would erase places white that it wanted to write up to 9 times before it drew any black pixels

I feel like I'm having a stroke trying to read this, what does it mean??


Replies

Taniwhatoday at 11:41 AM

Well all they needed to do was erase the screen with white and draw on it, but their app's internal logic meant that they erased it more than once.

I was capturing QuickDraw library calls - the low level graphics primitives, to figure out where the graphics time in apps was going and found out sometimes excel did it 9 times

Of course users didn't see it more than once, but our hardware made all that wasted time run faster

show 1 reply
NSUserDefaultstoday at 9:25 AM

Several layers of white is what makes the black really pop. (Just kidding).

layer8today at 2:53 PM

It’s necessary for erasing cat pixels.

_shantaramtoday at 1:01 PM

I think it could call (their equivalent of) clearRect up to 9 times on an already cleared region before drawing there?

b112today at 9:38 AM

It means they were time travellers! Secretly, they came from an alternate future where everyone used e-ink displays, and wanted Excel to be ready!

sixeyestoday at 9:21 AM

before writing to some area, it would erase it (clearing with white) up to 9 times