DDMAL / DDMAL/pixel_wrapper

Do not run image processing in event loop

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It seems that most if not all image processing for layers occurs as blocking code in [the event loop](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop). This is bad since it prevents any drawing updates or user IO to occur for the duration of that blocking process. For larger images, this is very significant. At the very least image processing should occur as asynchronous code, if not in a separate web worker altogether.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.