How can I quickly enumerate directories on Win32?

前端 未结 6 1788
刺人心
刺人心 2020-12-04 22:30

I\'m trying to speedup directory enumeration in C++, where I\'m recursing into subdirectories. I currently have an app which spends 95% of it\'s time in FindFirst/FindNextFi

6条回答
  •  死守一世寂寞
    2020-12-04 22:52

    If you're already doing the best you can to get the maximum speed from the API, the next step is to do low-level disk accesses and bypass Windows altogether. You might get some guidance from the NTFS drivers for Linux, or perhaps you can use one directly.

提交回复
热议问题