Great!
I just happened to have the same plan and you just got it done.
Great job!
I, however, don't think this is really the bottle neck.
If things are slow on small systems, there must be something wrong.
Profiling is absolutely needed here.
Can you do it? There must be something wrong.
On Mon, Aug 24, 2009 at 4:49 AM, Jürgen Hötzel<juergen@...> wrote:
> Hi PCMan,
>
> i noticed a larger delay when displaying large folders on small
> systems. I think the GSequence is rather suitable for maintaining
> lots of sortable items like File Folders.
>
> So I made a major change in fm-folder-model items storage. I moved
> from GList to GSequence data structures. I hope you agree:
>
> http://libfm.git.sourceforge.net/git/gitweb.cgi?p=libfm/libfm;a=commit;h=17cbb8d93b45a663f194e7a41a5a1b016899f0a3
>
> Jürgen
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Pcmanfm-develop mailing list
> Pcmanfm-develop@...
> https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop
>

Regarding to the thumbnail part, I have some ideas.
Maybe we can cache the loaded thumbnails with different sizes in a
hash table using FmPath of the source file as its key. So when a
thumbnail of specified size has already been loaded somewhere, there
is no need to reload it when other parts of the program need it. This
is just like what I've done with FmIcon. This is basically my current
plan. Or do you have better suggestions? I'll try to finish error
handling of file operations.
I believe that soon we can have a usable first release.
Cheers!
On Wed, Aug 26, 2009 at 2:47 PM, Jürgen Hötzel<juergen@...> wrote:
> On Mon, Aug 24, 2009 at 05:45:57AM +0800, PCMan wrote:
>> BTW, if you have spare time, maybe you'll be interested in looking at
>> the TODO file.
>> Feel free to add items to the TODO list when you see fit.
>> Or you can just pick up something you want to do or to finish the last
>> bit of some 'almost done' items.
>
> Yes... I'm just musing about the thumbnailing stuff...
>
> Jürgen
>