Re: Removing White Space...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 04/10/04


Date: Sat, 10 Apr 2004 06:36:02 -0500


"Tony Proctor" <tony_proctor@aimtechnology_NOSPAM.com> wrote
> There are a few variations of the sequence quoted in this thread, e.g.
>
> 2, 2, 5, 5, 16, 120
> 2, 3, 4, 7, 22, 232, 26797
> 2, 3, 3, 5, 13, 121, 9841, 64570081
>
> ..so which is the correct one folks?

The last two I recognise, but I don't remember seeing that top one.
Perhaps you copied it wrong? In any case, #2 is the best one over all.
I compared it with the bottom one about the time #2 was posted. For
about the first 3 terms they were equally performant but after that #2
was consistantly able to reach higher values than #3.

If you compare them term for term, for the task they were intended,
you will note that #2's terms are larger from position 3 on. (4 vs 3)
That means Replace will be replacing larger strings, and as a result,
do it fewer times for the same level of reduction.

LFS



Relevant Pages

  • Re: Compare two tables and write results to third table
    ... The new list can have folks who moved, it can have new folks and where they ... compare two tables and determine if a record is new or has been removed ... "Jeff Boyce" wrote: ... The clients have locations. ...
    (microsoft.public.access.queries)
  • Re: Thanx for the assistance wtih VMS security questions in general
    ... Thanx to the folks that provided usefull information. ... ability to store system specific configuration meta-data and compare; ... product offering, and a SourceForge Open Source tool that has the ...
    (comp.os.vms)
  • Re: Thanx for the assistance wtih VMS security questions in general
    ... Thanx to the folks that provided usefull information. ... ability to store system specific configuration meta-data and compare; ... and a SourceForge Open Source tool that has the ... Not so many thanx to the folks that superior attitude, ...
    (comp.os.vms)
  • Re: Thanx for the assistance wtih VMS security questions in general
    ... Thanx to the folks that provided usefull information. ... ability to store system specific configuration meta-data and compare; ... and a SourceForge Open Source tool that has the ... Not so many thanx to the folks that superior attitude, ...
    (comp.os.vms)
  • Re: Presenting D-Dimond1 antenna
    ... >We are post-graduate electrical engineering students. ... >mainly for educational purposes. ... you should attempt to make variations to your ... design and compare among them as well. ...
    (rec.radio.amateur.antenna)