-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Vladimir,

Am Sa den 11. Apr 2009 um 19:34 schrieb Vladimir Nadvornik:
> > 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.
> >
> 
> Is it really so slow? AFAIK most of distributions use ext3 with dir_index 
> option and my (very limited) testing on this filesystem showed that stat 
> speed is comparable to hash table lookup.

Well, it might be acteptable on local filesystems (even though ext3 is very
bad in lookup path informations; xfs and reiserfs is much faster with
that) but if you use geeqie with an external filesystem like nfs or
ftpfs or sshfs (fuse filesystems) then it is horrible to have that many
stat calls.

Even local filesystems will profit of less stat calls.

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)

iQEVAwUBSeDkEJ+OKpjRpO3lAQrhdQgAgE3It7eSzFRACJmegy8BeoEH3H/CY7BK
wgA77TnnT2QqPsszDEh/KtElzx991rD2+yaSGX9NL74T1WsLDv0QJjYXri/hrycT
nn1GjgujEmhdtm2h3hIV9+ikYYICTfvkk5NhyNske58DmSrMpvpzX2wj0iDi/osu
x5uOs95E2d+QFl1W9pCDoK0dggOaoNOT8d+A6RlbEyh7gOwWhOIYwpTbA5KzUIQo
C70x6JWinx+DBgHnTQSjTRLOiJ+bccruGwAoA4Jx2zCQ9zz9FfzHh5dtP99eR+rT
9ddGBKgOpGvNST368yHLuJe302bySGHEgmPSkT8EYUyBEFj/ZK7Gmw==
=lN/Q
-----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

Reply via email to