Peter Horsb�ll M�ller wrote:
> Bill,
>
> I remember that you said you had some more magic to try out.
> Didn't any of these beat my simple approach?
I forget now what I was going to try, but what I do remember was that
yours scaled better. I don't know how you'd express it in big-O
notation, but my recursive approach seems to slow down faster as the
number of search & replace operations increases than does yours. So I
concluded that my approach would never be faster no matter what I
tweaked because the fundamental algorithm was the problem. Still, it was
fun to explore the problem, I learned something new, and we all got a
good, speedy "search & replace" MapBasic routine for the toolkit!
--
- Bill Thoen
GISnet -
www.gisnet.com
303-786-9961