Reduce allocations when extracting AR models
Merge pull request #12185 from SamSaffron/join_dep

Reduce allocations when extracting AR models