Emacs tip of the day: annotate your functions! The byte compiler can replace entire function calls at compile time if your function is pure.