PERF: PeriodIndex speed up
 - [x] closes #https://github.com/pandas-dev/pandas/issues/14822
 - [x] tests added / passed
 - [x] passes ``git diff upstream/master | flake8 --diff``
 - [x] whatsnew entry
