Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fast file find with wildcards, optional date range, match # bytes, binary compare?
#7
Not bad, amigo! I think that does beat Steve's speed. I can't find the post on the old forums where he and I duked it out over this. His direntry.h was faster on smaller directories but slowed down considerably in larger ones. PowerShell kicked ass in big directories. The algorithm that PowerShell uses is technically faster than direntry.h at all times, but the slowdown happened due to including the time to call it from QB64.

I didn't find the one I was looking for but I did find this: https://qb64forum.alephc.xyz/index.php?t...#msg137995

It would have been even faster if I had added "-NoProfile" to my PowerShell call.
The noticing will continue
Reply


Messages In This Thread
RE: fast file find with wildcards, optional date range, match # bytes, binary compare? - by SpriggsySpriggs - 12-19-2024, 03:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  find color of a pixel PhilOfPerth 8 746 10-09-2025, 05:20 PM
Last Post: SMcNeill
  BINARY FILE write pmackay 6 698 09-29-2025, 01:06 PM
Last Post: dakra137
  Command$(count%) - I can't get a value when using the optional argument "(count%)" Unatic 3 518 08-22-2025, 11:58 AM
Last Post: Unatic
  Out of range errors! Unseen Machine 4 547 08-17-2025, 04:11 AM
Last Post: Unseen Machine
  how to get a file's modified date/time and size in bytes? madscijr 36 7,697 05-10-2025, 05:17 AM
Last Post: eoredson

Forum Jump:


Users browsing this thread: 1 Guest(s)