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

[REBOL] Reading directories faster.

From: reboler::programmer::net at: 8-Oct-2002 14:50

I am using the code below to read and sort the current directory contents. It is _terribly_ slow on large directories (> 1000 files/directories) either none? df: attempt [read %./][ "Error reading Directory" ][ foreach file df [insert tail either (dir? file)[dirs][files] file] ] Any ideas on how to speed it up? -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup Free price comparison tool gives you the best prices and cash back! http://www.bestbuyfinder.com/download.htm