This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.