msarilar / EDEngineer

An overlay to track Elite Dangerous blueprints progress in real time
MIT License
503 stars 175 forks source link

Optimize EDEngineer #714

Closed Mc-Pain closed 1 year ago

Mc-Pain commented 1 year ago

ED Engineer operates very slow, especially on large shopping lists.

There are some bottlenecks and excessive operations when updating UI or importing/clearing shopping lists.

For example: Multiple calling this.ToList(), which calculates a new object while we can store it somewhere if it's unchanged. Updating UI or saving settings when importing or clearing shopping list (both are time expensive)