Testing a theory that .replace is slow