http://qs321.pair.com?node_id=632729


in reply to Re: Programmatically building named anchors to warp to sections
in thread Programmatically building named anchors to warp to sections

As mr_mischief pointed out, your compare starts a new section on EVERY change of the second letter...which is just a frog-hair off plumb from hacker's schema:

For example, this could make the number of <a name="... /a><c>s and <c><a href="... /a>s very large for a list like:
Promote
Psychology
Ptui
Pummel

mreece also makes important points. Please consider them.