Win32 API FindFirstFile and FindNextFile performance vs command line

后端 未结 3 1436
礼貌的吻别
礼貌的吻别 2021-01-12 10:16

We have encountered an unexpected performance issue when traversing directories looking for files using a wildcard pattern.

We have 180 folders each containing 10,00

3条回答
  •  庸人自扰
    2021-01-12 10:27

    Try IShellFolder::EnumObjects with SHGetDataFromIDList/IShellFolder::GetAttributesOf.

    Pro/Cons here.

提交回复
热议问题