stoneharry / WoW-Spell-Editor

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

Refactor startup logic and dependencies #235

Closed stoneharry closed 2 months ago

stoneharry commented 2 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.