PERF: optimize storage type for codes in Categoricals (GH8453)
Merge pull request #8455 from jreback/cat2

PERF: optimize storage type for codes in Categoricals (GH8453)