unknownworlds / decoda

Decoda Lua IDE and debugger
GNU General Public License v3.0
900 stars 264 forks source link

Significantly improved large project loading times by removing useless Project Explorer updates. #3

Closed Camron closed 10 years ago

Camron commented 11 years ago

Significantly improved large project loading times by removing useless Project Explorer updates.

The old method used to add new symbols to the project tree and sort it on every symbol parse. It would rebuild and sort the ENTIRE AutoCompleteManager on each symbol parse as well. The new method waits for all symbols to be parsed in a project before adding them to the project explorer tree and then sorting it.

FEATURE: The bottom left status bar will indicate if Decoda is currently loading symbols.

Camron commented 11 years ago

When loading the NS2 project file, My screen would usually freeze for 20 seconds and then unfreeze with the project fully loaded.

Now I instantly get the file list in the project tree and then 2 seconds later the symbols are added to it.

That is a 10x improvement for me but it is actually more since I can instantly start viewing and editing files in that 2 seconds it takes for the symbols to load

dushan42 commented 10 years ago

This is now merged into master