-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi,
Am Fr den 10. Apr 2009 um 15:55 schrieb Vladimir Nadvornik: > > I encountered a other situation where it comes into trouble. When you > > open a collection (that can be from many files from many directories) > > then the stat probe is still done. Do you have a idea how to improve > > that? > > > > Other possibility is to read complete directory even if the collection > contains just one file from it. That would be cheaper. That just needs one read of the directory once for each file (without other optimisation) instead of 216 reads followed by 216 stats of mostly not existing files. (The read of the directory will be done by the os just before the stat.) So this would improve the performance by ~200. Regards Klaus - -- Klaus Ethgen http://www.ethgen.de/ pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <kl...@ethgen.de> Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQEVAwUBSd9k6J+OKpjRpO3lAQox4Qf5AWA7uHdgHrKWCm3Kpfvp3hW9GcmffoB1 5CZM77GZ7R537hbK9rEOKlVcK6+0/ctGtSInN6QhxTmr9uTCzQXLx/PpXf4jiYSL +5fWo4qJ10XZfbwqyAtzll8XZbiKzQL5JDWsjHqKs/grWrYovMjU6/3B3wCJOK4c x8JTorU1PW3qGfyXJeIApCA56p5QSK7eC2kiGy21Py8OuKE3Oo9jTEjtsxew/2c3 4ScRJMvRoHn6KROuG3qiklI3pVrGuHCbynoLRqT+iqzpMgXJSb5Ue6JGPUBqubQY EXJXJ9i6fcFA0HtcqH4ilFnFLm3qEB7egGEHCfVLX+iHV+sftSy8Ug== =q0xN -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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