String Search and Replace
- Posted by "Bruce M. Axtens" <zaphod_beeblebrox at SIL.ORG> Nov 17, 1999
- 485 views
--942851895 at router-8.camnet.com Content-Description: "cc:Mail Note Part" G'day again. Below are the results of comparing Brian's replace all with mine and mine's faster (for all it matters). Attached is the testing program. ZB Let's see what other dumb mistakes I can make today... Contents: Windows NT4. VirtualPC. G3/300 ============================== Broker_replace did 1 to 1 replace in 1.3 seconds Axtens_replace did 1 to 1 replace in 0.82 seconds Broker_replace did 2 to 3 replace in 0.61 seconds Axtens_replace did 2 to 3 replace in 0.54 seconds Broker_replace did 4 to 0 replace in 0.41 seconds Axtens_replace did 4 to 0 replace in 0.35 seconds Broker_replace did 4 to 8 replace in 0.46 seconds Axtens_replace did 4 to 8 replace in 0.44 seconds Windows NT4. Toshiba 110CS. =========================== Broker_replace did 1 to 1 replace in 1.64 seconds Axtens_replace did 1 to 1 replace in 1.11 seconds Broker_replace did 2 to 3 replace in 0.81 seconds Axtens_replace did 2 to 3 replace in 0.76 seconds Broker_replace did 4 to 0 replace in 0.54 seconds Axtens_replace did 4 to 0 replace in 0.43 seconds Broker_replace did 4 to 8 replace in 0.65 seconds Axtens_replace did 4 to 8 replace in 0.64 seconds Contents: --942851895 at router-8.camnet.com