-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 I tracked down the following issue:
Am So den 5. Apr 2009 um 15:36 schrieb Klaus Ethgen: > Then I have a other, performance issue. With gqview in a directory with > many images I get the window just instantly. With geeqie it takes > several seconds until the window appears. I do not know what do the > performance issue but it should be solved or at least add a splash > screen to inform the user that something happens. When geeqie starts up (or change the directory) it tries to do many stats for every file. One for every possible fileending (defined in the filter preferences). And as the file endings can be different case it tries all combinations of upper and lower cases. This ends in many hundred stat calls for every file name! I think that is not acceptable! Isn't it easier to read the directory once and check the files in code? stat is a expensive operation at all. For a directory of about 1000 files that takes 10 seconds. For one with more than 10000 files it makes it unusable at all! Gruß 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) iQEVAwUBSdj4S5+OKpjRpO3lAQoRFwgAsgtrVuVtgoTWPPH4qHM3/hZ0sF7hn/cA 0q33r2QppPGXmit9QlkhM/pnarUh3Hekwy7lqqN4zajtwSloS6xRAapyJB9KbpUX XHRLepJT9ZzEL+ER6d6+akKOFO1IPMP/X+XugeaGW6wxwsvRMlTmJAgnyR9NcwLN 025EwTZCI9NkJEzbKEKeJTqjwXBZGuymIeibLNIkej4jvyfTH/8sWUBcIQuYbaai k/gzl4b0zvD1Zt/jS2NM5xSP6wSKnhhZzJuloRnBMyWtfuPXGD/p8rzrGyD0nzLF tMM9/fCGf8KNQRGcYQghIiFZsQvlPCj4oeAqYhGTWAa1w8fl6BPzLQ== =YeMr -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Geeqie-devel mailing list Geeqie-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geeqie-devel