[Digikam-devel] [Bug 193967] VERY fast loading of thumbnails [PATCH]

Mikolaj Machowski mikmach at wp.pl
Mon May 25 16:41:54 BST 2009


https://bugs.kde.org/show_bug.cgi?id=193967





--- Comment #14 from Mikolaj Machowski <mikmach wp pl>  2009-05-25 17:41:53 ---
Below I will attach copy'n'paste patch with "cheat" method from Ariya.

1) his method doesn't care about aspect ratio so you will see squares but as
quick tool for tests it is enough
2) it is slightly slower than fast transformation - he probably tested it on
big images where it is easier to gain performance, we are going only for
scaling 256px downwards to 80px; on my screen smallest thumbs (55 pieces) take 
3 seconds to fill the screen; It would be interesting to see what this method
gives for generation of real thumbs; all times are for already generated thumbs
and I see difference between loading of pregenerated thumbs before and now
(Gilles patch doesn't touch generation of thumbs at all)
3) my computer: Sempron 2200, 756MB RAM (233 MHz), GeForce2 MX 400; Qt4.5.1,
KDE4.3svn
4) bit tricky legal issues: file of origin where cheatScale is coming from is
under GPL2 or 3, while thumbnailcreator.cpp is GPL2+
5) what is taking so much time is loading of thumbnails in sequence; would it
be possible to load them simultaneously (thread per thumb or at least few
threads per whole screen)?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list