map.el (map-merge*): Use `map-into' at beginning rather than end
commit44eca25a4bd1513f08ca380c9f6722c21376ac9f
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Jun 2016 04:52:58 +0000 (18 00:52 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Jun 2016 04:52:58 +0000 (18 00:52 -0400)
tree332350892642ffba2632c14a23623d01d331051f
parent574cd99692094676cec47de8f22fc7351c42ea3a
map.el (map-merge*): Use `map-into' at beginning rather than end

* lisp/emacs-lisp/map.el (map-merge): Use `map-into' for the first map,
and don't use of an intermediate alist.
(map-merge-with): Same, plus use `cl-callf' to try and avoid performing
3 lookups per inner iteration.
lisp/emacs-lisp/map.el