On po 6. dubna 2009, Vladimir Nadvornik wrote: > On po 6. dubna 2009, Klaus Ethgen wrote: > > Hi Vladimir, > > > > Am Mo den 6. Apr 2009 um 9:46 schrieb Vladimir Nadvornik: > > > > The stat is done 216 times this way for each file in a directory. > > > > > > Hm, the number of sidecar extensions is much higher than last time I > > > looked into it. > > > I will fix it. > > > > Sorry, I didn't sent a patch for it. I think about a caching of the > > directory and not to stat but checking against the internal cache. Maybe > > with the use of a regex library. But this was definitively noting for > > the Sunday evening. > > I want to add another hash table: > <file name without extension> => <list of files> >
Done in rev. 1614. Please test. (The stat on all possible sidecars is still used in situations when the file name does not come from readdir, this is for example commandline or drag and drop) Vladimir ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel