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

后端 未结 6 629
春和景丽
春和景丽 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:46

    Using memory mapped files should be investigated as it will reduce the number of system calls.

提交回复
热议问题