Remove from Category very slow with thumbnail cache enabled
Posted: Thu Apr 26, 2007 10:40 pm
With Options, Browser, Thumbnails, Enable Caching turned on, removing multiple images from categories goes very, very slowly. With Caching turned off, the operation is a bit slow, but much, much faster than with caching enabled.
I cannot be sure, of course, but I believe that there are two problems:
1. When removing multiple selected images, XnView seems to remove one image, then refresh the entire category view, then remove one image, etc. This process is somewhat slow.
2. With caching enabled, XnView seems to re-read all the thumbnails from the cache every time the view is refreshed. This process is very, very slow.
When caching is enabled, using the Windows Task Manager, I see the "I/O Read Bytes" column increase by hundreds of megabytes for every image removed.
I believe that this problem would be fixed by waiting to refresh the current view until all selected images have been removed from the category, and / or reducing the redundant cache reading.
Thanks for making and improving XnView!
Details:
XnView Version: 1.90.3
OS: Windows XP SP2
Filesystem: NTFS
XnView.db size: 100MB
Thumbnail size: 192x144
Thumbnail cache format: High-Quality JPEG
I cannot be sure, of course, but I believe that there are two problems:
1. When removing multiple selected images, XnView seems to remove one image, then refresh the entire category view, then remove one image, etc. This process is somewhat slow.
2. With caching enabled, XnView seems to re-read all the thumbnails from the cache every time the view is refreshed. This process is very, very slow.
When caching is enabled, using the Windows Task Manager, I see the "I/O Read Bytes" column increase by hundreds of megabytes for every image removed.
I believe that this problem would be fixed by waiting to refresh the current view until all selected images have been removed from the category, and / or reducing the redundant cache reading.
Thanks for making and improving XnView!
Details:
XnView Version: 1.90.3
OS: Windows XP SP2
Filesystem: NTFS
XnView.db size: 100MB
Thumbnail size: 192x144
Thumbnail cache format: High-Quality JPEG