spillerrec / imgviewer

Customizable image viewer with minimalistic interface
2 stars 1 forks source link

Load images in parallel #6

Open spillerrec opened 10 years ago

spillerrec commented 10 years ago

While image loading is threaded to avoid blocking the UI, only one image is being loaded at a given time.

For large images, processing will stop file IO until it done, making us not fully utilize file IO. Secondly the IO scheduler will be able to optimize HDD reads more effectively. Furthermore, even if the image processing is single-threaded, we will process multiple files in parallel, better utilizing multiple cores.