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?
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?