Subj : sweep
To : Eddy Thilleman
From : Vitus Jensen
Date : Sun Apr 01 2001 04:53 am
Moin Eddy!
15.03.2001, Eddy Thilleman wrote a message to Vitus Jensen:
(please pardon my late answer, we had CeBIT here in Hannover)
ET>>>>> Borland Pascal as DOS .EXE file and compiled it with Virtual
ET>>>>> Pascal/2 v2.1 build 243 as OS/2 .EXE file, and implemented it
ET>>>>> also in REXX.
...
ET>>> I've run it without screen output from all the sweep variants
ET>>> themselves, the only screen output is by the command run in each
ET>>> (sub)directory. The command in the compiled OS/2 version is run
ET>>> somewhat slower.
VJ>> There are larger gaps between execution in the different directories?
ET> Yes.
VJ>> That would mean that searching for directories is slower in VP/2
VJ>> which is not to be expected or the startup of every command line
VJ>> takes longer (s.b.).
ET> I'm not sure about this.
...
ET> The DOS pascal version is equally fast as the REXX version, the OS/2
ET> VP/2 version is slower (as I said).
...
ET> Any ideas?
I tried your Rexx code and translated the pascal version to C. When run both
versions in my source tree on the file server (413 dirs) the results are:
timex sweep.cmd -Q cmd.exe /C cd
Elapsed time: 26.67 seconds
timex sweep.exe -Q cd
Elapsed time: 18.68 seconds
So rexx is slower over here. As it is different on your machine it has to do
something with VP/2.