1. The idea that worked doesn't
--942736570 at router-8.camnet.com
Content-Description: "cc:Mail Note Part"
Dear Eu-eryone
I ran the attached program and got the results below. My replace plods along
whereas as Brian's and Irv's are way faster. Oh well, back to the
drawing board.
Bruce.
-------------------- replace.dat (annotated) ----------------
Windows NT4 under VirtualPC on a 300MHz G3 PowerMac
===================================================
Broker_replace did 1 to 1 replace in 0.21 seconds
Mullins_Replace did 1 to 1 replace in 0.29 seconds
Axtens_replace did 1 to 1 replace in 0.79 seconds
Broker_replace did 2 to 3 replace in 0.23 seconds
Mullins_Replace did 2 to 3 replace in 0.22 seconds
Axtens_replace did 2 to 3 replace in 0.87 seconds
Broker_replace did 4 to 0 replace in 0.19 seconds
Mullins_Replace did 4 to 0 replace in 0.19 seconds
Axtens_replace did 4 to 0 replace in 0.37 seconds
Broker_replace did 4 to 8 replace in 0.22 seconds
Mullins_Replace did 4 to 8 replace in 0.23 seconds
Axtens_replace did 4 to 8 replace in 0.44 seconds
Windows NT4 on Toshiba Satellite 110CS
=====================================
Broker_replace did 1 to 1 replace in 0.25 seconds
Mullins_Replace did 1 to 1 replace in 0.26 seconds
Axtens_replace did 1 to 1 replace in 1.01 seconds
Broker_replace did 2 to 3 replace in 0.27 seconds
Mullins_Replace did 2 to 3 replace in 0.27 seconds
Axtens_replace did 2 to 3 replace in 2.15 seconds
Broker_replace did 4 to 0 replace in 0.23 seconds
Mullins_Replace did 4 to 0 replace in 0.23 seconds
Axtens_replace did 4 to 0 replace in 0.45 seconds
Broker_replace did 4 to 8 replace in 0.28 seconds
Mullins_Replace did 4 to 8 replace in 0.29 seconds
Axtens_replace did 4 to 8 replace in 0.56 seconds
--942736570 at router-8.camnet.com
2. Re: The idea that worked doesn't
Thus spake "Bruce M. Axtens" on Tue, 16 Nov 1999:
>Subject: The idea that worked doesn't
Oh man, am I dumb or what. My routine does a replace all and the others do a
single replace. D'oh!!!
Will put in Brian's recursive routine and drop Irv's one (unless you want to
supply a replace-all, Irv) and see who's works best.
ZB/BMA (personality crisis here)