Speed improvement: Lazy loading

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
XnTriq
Moderator & Librarian
Posts: 6401
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Speed improvement: Lazy loading

Post by XnTriq »

It took me quite a while to notice this great new feature, because I don't have too many folders with lots of large photos on my HDD.
xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=87405&hilit=19836#p87405]XnViewMP beta 0.30[/url] » Changelog) wrote:* experimental thumbnail create on the fly
[...]
* Thumbnail creation rewritten (now thumbnail creation follows position of slider)
To see it in action you need to turn off Create thumbnail for whole folder in Tools » Settings » Browser » Thumbnail » Misc.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Speed improvement: Lazy loading

Post by marsh »

Lazy is technical now? Oh my! Get out your stopwatches or sundials! :mrgreen:
obelisk
Posts: 476
Joined: Fri Jan 09, 2009 9:54 am

Re: Speed improvement: Lazy loading

Post by obelisk »

Is this going into 1.97?
User avatar
XnTriq
Moderator & Librarian
Posts: 6401
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Speed improvement: Lazy loading

Post by XnTriq »

marsh wrote:Lazy is technical now? Oh my! Get out your stopwatches or sundials! :mrgreen:
OK, I don't want to get too philosophical here, but technically speaking, isn't laziness believed to be the father of invention :P
vommie
Posts: 113
Joined: Sat Apr 14, 2007 2:36 am
Location: Berlin

Re: Speed improvement: Lazy loading

Post by vommie »

This is the feature I wished for over a year - it's sooo great it's in XnViewMP now. Because I have a lot of really big folders (with thousands of tagged files in it) I never was able to use XnView in other ways than just the image viewer - it crashed when XnView was using 3GB of ram because it was/is loading all thumbs into it.

So I am very happy to see this feature. I hope it will be improved in speed later on, f.e. it could precache some thumbs before and after the actual slider position (~50 thumbs to both sides?), so the user does not recognize the "lazy loading" if he scrolls in small steps up or down.

Additionally a self protection would be cool. XnView could remove loaded thumbs which aren't displayed actually out of the ram - at least when it reaches the critical border of 3GB. This would prevent crashes and data losses.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Speed improvement: Lazy loading

Post by JohnFredC »

It is very important that, where possible, lazy loading should distinguish between lazy "creation" and lazy "display". Display of cached thumbnails should always take precedence.

See my post about this topic here and please offer support if you agree.

In summary, there should be at least these settings:
  • [x] Display thumbs for whole folder (off = lazy)
    [x] Create thumbs for whole folder (off = lazy)
    • [x] In background
Also a thumb daemon would be useful for heavily populated folder trees.
John
User avatar
ElenaLauder
Posts: 4
Joined: Sun Nov 20, 2011 6:09 pm

Re: Speed improvement: Lazy loading

Post by ElenaLauder »

Create thumbnail for whole folder in Tools » Settings » Browser » Thumbnail » Misc.
I didn't found this options in XnView V1.98.2?
Where is this option?
Thank you.
Elena
User avatar
XnTriq
Moderator & Librarian
Posts: 6401
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Speed improvement: Lazy loading

Post by XnTriq »

ElenaLauder wrote:I didn't found this options in XnView V1.98.2?
Where is this option?
Elena, this feature is only available in XnView MP.
User avatar
ElenaLauder
Posts: 4
Joined: Sun Nov 20, 2011 6:09 pm

Re: Speed improvement: Lazy loading

Post by ElenaLauder »

XnTriq wrote:
ElenaLauder wrote:I didn't found this options in XnView V1.98.2?
Where is this option?
Elena, this feature is only available in XnView MP.
Ahaaaaa, :), oh sorry.
Thank you very much!
Namaste
Elena
User avatar
XnTriq
Moderator & Librarian
Posts: 6401
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Speed improvement: Lazy loading

Post by XnTriq »

ElenaLauder wrote:Ahaaaaa, :), oh sorry.
Thank you very much!
No problem 8)
Welcome to the forum!
obelisk
Posts: 476
Joined: Fri Jan 09, 2009 9:54 am

Re: Speed improvement: Lazy loading

Post by obelisk »

how is xnview Win and MP in feature terms now?
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Speed improvement: Lazy loading

Post by budz45 »

obelisk wrote:how is xnview Win and MP in feature terms now?
Duh! http://newsgroup.xnview.com/viewtopic.php?f=60&t=23940
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Speed improvement: Lazy loading

Post by budz45 »

Do you think Pierre that we could have lazy loading of file-list for the Viewer? ----> For Folders with Huge amount of image files (1000+)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
Rebellious
Posts: 39
Joined: Tue Jul 22, 2008 4:49 pm

Re: Speed improvement: Lazy loading

Post by Rebellious »

Thumbnail creation is very fast on my system, so much so that caching is not really necessary, except for network drives.