ahodesuka / ahoviewer

A GTK image viewer, manga reader, and booru browser
MIT License
479 stars 30 forks source link

Improve archive image thumbnailing #150

Open ahodesuka opened 1 year ago

ahodesuka commented 1 year ago

The current way thumbnails are generated for archives, if I remember correctly, is that every file is decompressed at the same time (up to the thread limit set by the imagelist) and the thumbnail is created. This causes an extreme IO bottleneck and most likely hinders performance.

The images should be extracted on one thread and there should be another thread waiting on a queue to create thumbnails for newly extracted images.