in reply to Re: Genesis of a sort routine
in thread Genesis of a sort routine

I think perl's re's are pretty well optimized for fixed string searches, so I would expect minimal gains from using index in this case.