VSCode-Hungry-Delete icon indicating copy to clipboard operation
VSCode-Hungry-Delete copied to clipboard

Slow performance on large files

Open tyirvine opened this issue 4 years ago • 0 comments

I noticed whilst using Hungry Delete I was getting some slow performance. I was confused and thought it was VS Code but noticed when I disabled Hungry Delete deletion was fast again. I realized it's because I was working in a large file. For some reason however Hungry Delete works, line count influences it's speed. Or so it seems at least.

It wasn't really that big of a file though. Only 1000 lines of code (it's just a file that holds c arrays for drawing on an lcd). Anyways figured this was important enough to warrant raising an issue and fixing it!

Slow performance ⤵︎ Screen Recording 2021-01-11 at 4 44 52 PM

Normal performance ⤵︎ Screen Recording 2021-01-11 at 4 48 24 PM

It was difficult to show key presses but it sometimes takes a whole second when bogged down.

tyirvine avatar Jan 11 '21 23:01 tyirvine