Explain the computational complexity and memory footprint of standard data structures like hash maps and slices in your primary language.