Is inspect converting does better performance than inspect replacing?