I strongly disagree that memorization is important or foundational to advanced math. It definitely is useful, but you don't need it. And the more advanced your math gets, the less valuable it becomes.
My experience is that university-level math explicitly tells you to not memorize values and formulas, but to get comfortable finding solutions directly, because then you actually learn what is going on and have methods that are universally useful.
In the real world memorization is even less useful. You will never be as fast and accurate as a calculator, or remember as many values as a precomputed table has. So why bother?