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

    Popular posts from this blog

    java - NullPointerException for a 2d Array -

    python - Assemble mpeg file unable to play in mediaplayer -

    c# - NameSpace Manager or XsltContent to parse aspx page -