performance - c++, fastest way to check if a file exists? -
There are several ways to check if a file exists.
The options I know:
Access () Do anybody know which of these best performances? Edit: Estimate walking / dev / shm where access time is not a factor.
Here the runtime switch will dominate the operation of kernel mode and file system drivers - even Exclude disc time. It is highly unlikely that none of these will offer the best performance Best Interface - Promotion :: Filesystem .
Comments
Post a Comment