[REBOL] Re: Newbie speed question
From: greggirwin:mindspring at: 19-Apr-2005 17:03
Hi Kai,
KP> what is the most efficient way to achieve the following:
KP> Create a list of files in a directory and save it to disk, where
KP> the number of files is very high (~ 5.000) and only a handful of files
KP> in that directory need to be excluded from this list (they have a different KP> extension)?
Have you tried something like this (changing %. and %.r obviously :)?
remove-each file read %. [%.r = suffix? file]
-- Gregg