Zxynine / EvenBetterComments

My take on the better-comments extension which incorporates many pull requests and multi tag definitions
https://marketplace.visualstudio.com/items?itemName=Tion.evenbettercomments
MIT License
11 stars 1 forks source link

Poor Performance on large files since last update #13

Closed Zxynine closed 1 year ago

Zxynine commented 1 year ago

After fixing unhandled errors that have been present in the code since I first made this extension and never knew about, its performance on large files is truly horrible. This is because it is now working as intended and parsing the files tokens when the user edits the file. Before, what was happening was the script encountered an error which prevented the changes rom updating the code and so everything was only updated upon request from another script (the parser upon searching for mixed comments). Ran a profile while editing a nearly 9k line script and had long pauses any time I tried to create a new line or add characters.

I have noticed a few other small performance problems that I thought were unrelated, but now that I know my extension is causing freezes, I think it might be related. Will be fixed soon. Who knew fixing problems just causes more problems?

image