stoneharry / WoW-Spell-Editor

A Spell Editor for WoW versions WOTLK 3.3.5, TBC 2.4.3, or Vanilla 1.12.1.
269 stars 121 forks source link

Refactor startup logic and dependencies #235

Closed stoneharry closed 6 months ago

stoneharry commented 6 months ago

This reduces the time it takes for the spell editor to startup significantly.

To achieve this, the logic being initialised can be processed concurrently. All UI dependent code is isolated which must go through the UI thread.

The SQL adapters use locking when executing queries which slows down the startup. To avoid this temporary adapters are created for the use of the startup logic.