skeeto/emacs-memoize — pull request #1 by rolando2424 (2012-08-17 16:05:53+00:00)
Title: Added memoize-defmemo macro

Added a macro called ```memoize-defmacro``` that automatically creates a new function and memoizes it.

Example of usage:

```cl

(memoize-defmemo whiten (key)
"Perform key whitening with the md5 hash function."
(dotimes (i 1000000 key)
(setq key (md5 key))))
```

Result:

```cl
(measure-time (whiten "password")) ; => 3.3089375495910645 s
(measure-time (whiten "password")) ; => 1.2159347534179688e-05 s
```