News for hackers. Stuff that matters.
Re:1991 Macintosh Quadra with Mac OS 8.1 as an Electron App by tbrock on Tuesday July 28, 2020 @09:45PM (#23982703)
That seems like a bug right? The drawing code might be highly optimized for equal height rows but resizing cells is quite common, I’m surprised they just punt on it.
Re:1991 Macintosh Quadra with Mac OS 8.1 as an Electron App by throwanem on Wednesday July 29, 2020 @12:26AM (#23983509)
IIRC redraw doesn't happen until the sort finishes, but I use Excel as little as I can get away with, so I don't have a recent memory to rely on. That said, at a guess, reordering rows of equal height (and otherwise with no non-default properties) is probably mostly just rearranging pointers - why bother keeping row index associations intact, when the only trait of any row is the values in its cells? - while reordering rows of varying height might involve a lot of copying, or otherwise significantly more complex shenanigans, to make sure data and row properties stay properly associated.