Change `map` to `map!` to save extra array creation on new array
Merge pull request #12517 from vipulnsward/destructive_map_am

Change `map` to `map!` to save extra array creation on new array