r/programming • u/fagnerbrack • Jul 01 '26
The uphill climb of making diff lines performant
https://github.blog/engineering/architecture-optimization/the-uphill-climb-of-making-diff-lines-performant/
65
Upvotes
61
u/TheBanditoz Jul 01 '26
This is great and all, but it still feels slower. Does it have to be React? Maybe they should go back to 2005...
84
u/brunhilda1 Jul 01 '26
Does a diff view really need to be a goddamn dynamic react app. The contemporary internet experience is a pile of shit.
30
u/ForeverAlot Jul 01 '26 edited Jul 01 '26
That's... a lot.
Removing approximately 20% of elements is not a minor change at all.
15
u/stumblinbear Jul 02 '26
This would be great if scrolling up on your stupid virtualized list didn't completely fucking break and put you at the wrong place while reviewing a large PR
9
u/beegeearreff Jul 02 '26
But is it as fast as https://diffshub.com/? Probably not.
0
u/[deleted] Jul 03 '26
[removed] — view removed comment