RoyAwesome / WorldSmith

Open source Dota 2 Mod Editor
MIT License
59 stars 28 forks source link

Performance Issue with Project View #64

Open RoyAwesome opened 9 years ago

RoyAwesome commented 9 years ago

Iterating through every file in the VPK takes a significant amount of time. We should either look into reducing this time or running the iteration/placing of tree nodes in a BackgroundWorker and not block the UI.

RoyAwesome commented 9 years ago

I looked into fixing this, it's a bit more involved

SinZ163 commented 9 years ago

Doing it in the background would be a viable solution, and depending on how the rest of the Initial stuff works, could be done in parallel with parsing the kv files

RoyAwesome commented 9 years ago

After some debugging, the perf issue for this is not because it's looping through the VPK.