http://www.perlmonks.org?node_id=147057


in reply to (crazyinsomniac) Re: Performance quandary
in thread Performance quandary

Thanks crazyinsomniac,

Your suggested changes made a measurable difference (5%+, I think). I'm making similar alterations to the rest of my routines now. Though their impact is much less than add_entry, it certainly won't hurt to drop out a few regexes and splits/joins.

And I've learned a nifty new function, index(). I always knew there was a way to do that, I just never figured out what it was.