Even Rouault <[email protected]> writes: >> What's wrong with just always doing the stat? > Nothing, but just one extra system call in a performance critical path.
OK - but do you really think that in an entire sequence of fopen/fread/prcoess-data that one more stat (which will be cached w.r.t the inode read in open) is going to even be measurable? (No, I haven't benchmarked it either.) But I'm not the one maintaining the more complicated code...
signature.asc
Description: PGP signature
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
