Regarding water quality, PEX may pose potential leaching issues that could affect drinking water safety. On the other hand, HDPE is beneficial for maintaining long-term water quality integrity due to its resistance to chemical leaching and corrosion.