On Thursday 13 September 2001 18:26, Dan Sugalski wrote:
> At 10:21 AM 9/13/2001 -0600, Nathan Torkington wrote:
> >Dan Sugalski writes:
> > > >Lines 249 to 261 seem to duplicate 204 to 216.
> > >
> > > D'oh! Thanks, fixed.
> >
> >Oh man, good luck building a unit testing system for the docs :-)
>
> That's actually an interesting thing to consider. We could check for
> duplicate headers (=item, =head1, =head2, =head3), run MD5 checksums on
> paragraphs, and other mildly interesting things.
>
> Anyone care to take a shot at it? I hear there's a good text-processing
> language on the net somewhere we could grab and use... ;-)

Yeah, someone really should implement such a language.

Interesting in the context of testing dox could be,
Dr. Dobb's, #323 April 2001, p. 145, "Suffix Arrays" by Jon Bentley.

Listing One is stated to have "found the longest repeated string
in the 4,460,056 character's of the King James Bible in about 36 seconds
on a 600-MHz Celeron processor".

Have fun,
Buggs

Reply via email to