PERF: optimize MultiIndex.from_product for large iterables
Merge pull request #7627 from immerrr/perf-multiindex-fromproduct

PERF: optimize MultiIndex.from_product