Re: [PATCH] Process unlimited files at once



On Wed, 2004-10-06 at 09:38 +0200, Martin Wehner wrote:
> This patch gives you a nice speed improvement with large directories
> basically for free: Currently the rate at which files are processed is
> limited to 300 at a time - Supposedly to tame the list view during
> loading. But the reason for this is long gone (the view isn't refreshed
> during loading anymore, for one thing), and it achieves quite the
> opposite: A full refresh cycle including relayout is forced after 300
> files, no matter what. I played a lot with this number and came to this
> conclusion: You want to flush out as much changes as you can, everytime.
> Trying to limit the rate to improve responsiveness will only degrade it
> because of the forced refreshs.
> When you open a directory with 3000 files now, it'll relayout the list
> view 10 times when displaying initially, when you remove the rate
> limitation, it'll display instantly.

Looks very good. Please commit.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a lonely alcoholic werewolf plagued by the memory of his family's brutal 
murder. She's a time-travelling insomniac pearl diver with only herself to 
blame. They fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]