I'm working on a golang script who get fileInfo and owner from every file using go 1.10.3 on a 32 bit windows. My script work well but im facing a problem. The library advapi32 and more specificly GetNamedSecurityInfoW and LookupAccountNameW functions take around 1 millisecond since I've got a big amount of files the "scan" is obviously too long. I just wanted too now if there's another way to do it faster ? I'm open on any suggetion or help Thanks.
1条回答 默认 最新
- duanhan9334 2018-07-24 06:01关注
Thank you gonutz i managed to make it quite faster with goroutine, I aproach 2 500 000 files every 22minute. And my algorythm is still not optimised.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报