Optimizing Topological Spaces For Scalable Persistent Homology Computations