Lovinity / wwsu-dj-controls

THIS PROJECT HAS BEEN MIGRATED TO GITLAB: https://gitlab.com/wwsu1069/wwsu-dj-controls
https://wwsu1069.org
MIT License
3 stars 0 forks source link

Massive Code Cleanup #2

Open Lovinity opened 5 years ago

Lovinity commented 5 years ago

DJ Controls is in dire need of a code cleanup. This is a container for all of the code cleanup proposals and tasks. More may be added over time.

Lovinity commented 5 years ago

Using web workers will not be possible for SkywayJS nor any of the audio-related functionality; those use the DOM, which Workers have no access to. However:

We can still send other CPU intensive tasks to a worker, such as calculating calendar events. Maybe we can send SkywayJS and audio related items to a separate browserView in the main window on another thread.

Lovinity commented 5 years ago

We might want to consider moving all audio-related functionality, including SkywayJS, into its own BrowserWindow so it uses its own thread and process. It can pass messages back and forth between the renderer or the main process

Lovinity commented 5 years ago

The above has been moved to browserWindows with DOM processing in renderer (browserWindows send data via messages to renderer, which renderer then processes to the DOM).

Lovinity commented 5 years ago

The rest of cleanup has been deferred