From: James Edward Gray II Date: 2006-03-15T22:54:30+09:00 Subject: Re: Small optimization tips On Mar 15, 2006, at 6:33 AM, Vincent Foley wrote: > I have something else that is probably common knowledge: if you can > avoid using regular expressions, do it. By replacing the regex > matches > in my script with string operations, I increased the runtime speed > by a > factor of ~4. However, if you can replace a few Ruby operations with one complicated search and replace, sometimes it works the other way. It depends on the problem. James Edward Gray II