Commit graph

3 commits

Author SHA1 Message Date
Henrik Lissner
f6dc6ac74e
Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
Henrik Lissner
e44fd886f2
Appease byte-compiler-sama 2018-05-14 20:37:13 +02:00
Henrik Lissner
b3c429d92a
Refactor app/email 2018-01-24 15:08:43 -05:00