filmo has asked for the wisdom of the Perl Monks concerning the following question:
I was reading 'Mastering Regular Expression' and it stated that using 'i' for case insensitivity paid a large performance penalty. Is that still the case with the most recent versions of Perl? (the book was written in 1997)
Comment on performance penalty using case insensitivity
The performance penalty is still there. It is even more important in recent versions of perl as it prevents most optimisation from being performed. So by using it you loose a lot of the work that has been done to speed-up common regexps.
Which does not mean that it is a problem in most cases. When in doubdt use Benchmark!