bioperl/bioperl-live — pull request #94 by rocky (2014-12-18 16:41:38+00:00)
Title: Using compiled regexps in s/// speeds up seq/subseq() by about 7% ...

from 7.76s to 7.22s over 32358 calls on Variant Effect Prediction data.

See also https://gist.github.com/rocky/61f929d58a286189a758 for some benchmarks on s/// to remove carriage returns and line feeds.