baur
baur copied to clipboard
loader: make Loader.tasks and appTaskByName() more efficient
- Loader.appTaskByName() instantiates all apps of task and only returns a single task of them.
- Loader.tasks() calls Loader.appTaskByName() multiple times for the same app in a loop, only instantiate a task per app one time