PERF: performance regression in frame/apply (GH5654)
Merge pull request #5656 from jreback/apply_perf

PERF: performance regression in frame/apply (GH5654)