FYI...
tr///; is also faster then s///; for replacement. Limit on this being that tr does not remove characters therefore if your intent is too remove matching pattern then s/// must be used but if a simple change is desired then tr/// should be used.