DDMAL / pixel_wrapper

Rodan Pixel.js Wrapper
Other
0 stars 1 forks source link

Do not run image processing in event loop #48

Open JRegimbal opened 4 years ago

JRegimbal commented 4 years ago

It seems that most if not all image processing for layers occurs as blocking code in the event loop. 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.