Explain how you would optimize a slow-running data pipeline that processes large geospatial data arrays.