Many small files or one big file? (Or, Overhead of opening and closing file handles) (C++)

后端 未结 6 627
春和景丽
春和景丽 2021-02-01 21:22

I have created an application that does the following:

  1. Make some calculations, write calculated data to a file - repeat for 500,000 times (over al
6条回答
  •  走了就别回头了
    2021-02-01 21:39

    Before making any changes it might be useful to run a profiler trace to figure out where most of the time is spent to make sure you actually optimize the real problem.

提交回复
热议问题