Re: faster deparse() for string library strtok.e
On Tue, 2 Apr 2002 13:42:43 +0000, jordah ferguson
<jorfergie03 at yahoo.com> wrote:
That's a huge, and exponential difference.
At 800, its about 100 times slower. At 4,000 it is over 1,000 times
slower.
Changing
> s =s&c&list[i] ---///area of error
to
> s =s&c
> s=s&list[i]
should not cause such a huge difference, surely.
Given that the latter finishes in 0.007 seconds, the same number of
iterations for the former should definitely not take 11.6 seconds.
To process a sequence 5 times as long, the latter takes as expected
about 5 times as long; the former however about 47 times as long
Any thoughts Rob?
Pete
|
Not Categorized, Please Help
|
|