I bought a new book this weekend: the wolf book. I'm enjoying it. I
came from an engineering background, so anything that gives comp sci
theory is good.
I read in the book, and I've always suspected, that anchoring regular
expressions will speed them up. I'm finding that after 5000 iterations,
the unanchored is slightly faster (about 1/10th of a second).
This isn't a significant problem, but when checking http logs that are
100000 lines long for 18 different machines, it will add up to a few
seconds.
Can anyone give me a clue as to why this isn't true?
By the way, with each book I buy from O'Reilly on Perl (starting with the
Schwartz Bible), I learn more and more. I'm really pleased with the
books. Thanks to all the authors who are reading (Randal, Doug, Lincoln,
et al).
J. J. Horner
Linux, Apache, Perl, Unix, Stronghold
[EMAIL PROTECTED] http://www.knoxlug.org
System has been up: 9 days.