in reply to Re: Re: Fast search/replace?
in thread Fast search/replace?

If you're performing matrix operations, the PDL module may come in handy. Otherwise, working with images, you may have more luck with Image::Magick.

Either approach will use C code, which is likely many times faster for this operation.