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.
In reply to Re: (crazyinsomniac) Re: Performance quandary
by SwellJoe
in thread Performance quandary
by SwellJoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |