Re:Severe performance penalty found in VSCode rendering loop
by hdjfjkremmr on Monday October 27, 2025 @01:03AM
(#45717571)
it's sorting 50 times a list going from 50 to 0 items.
[ Parent
| on HN ]
Re:Severe performance penalty found in VSCode rendering loop
by blharr on Monday October 27, 2025 @04:24AM
(#45718519)
49 of those times, it's hitting the best case of sorting an already sorted list, so I still can't imagine that huge of a performance penalty
Re:Severe performance penalty found in VSCode rendering loop
by hyperhello on Monday October 27, 2025 @10:19AM
(#45721297)
There are sort algorithms that don’t do any work except scanning if the list is unsorted, but there are more efficient ones to use if they are.