You mention 600000 paragraphs.
The thought of 2^600000 iterations would definitely have me looking at the Spanning Tree solution.
In reply to Re^4: Help required in optimizing the output (PERL)
by Anonymous Monk
in thread Help required in optimizing the output (PERL)
by randomid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |