Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Filtering files in directories.

From: greggirwin:mindspring at: 4-Jan-2003 11:36

Thansk Oldes, I haven't done any tests. On a dir with ~2,000 files here the response is very fast just using READ. The place it would show a difference is if you have a utility that searches all files on a drive by date, size, etc. For that you'd be reading the dir, then reading the info for each file. If you use the Win API (only for Windows of course) you get the info as you find the file which saves lots of reads. I'd do it the easy wasy first though, and only if it wasn't fast enough would I consider going the other way. -- Gregg