[REBOL] Re: First attempt at Rebol - 16 hours later
From: anton::wilddsl::net::au at: 24-Sep-2007 4:42
Hi Greg,
I have extensively (but not completely)
optimized your Cleanerxx.r script.
http://anton.wildit.net.au/Cleanerxx_anton.r
(This link is temporary. I'll delete it after you get it.)
It produces almost exactly the same map as yours,
but a lot faster. (I tested only on 36.txt.)
The script can be optimized much further,
(I think a single parse can do it all.)
but I wanted to show you the improvements
in stages.
I'm not sure exactly what the script should do
and what modifications should be available to the
user. Could you list those things ? eg:
1) Insert page break
Replace selected <bnn> with <br/>
2) Make title
Enclose selected text in <title> </title>
Regards,
Anton.