|
From: | Stefan Monnier |
Subject: | Re: byte-opt.el addition - optimize list of compile-time constants |
Date: | Wed, 08 Dec 2004 14:27:04 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> I seriously wonder how much would break if this optimization were > implemented for 'list'. My suspicion is that people don't commonly > apply 'eq' to lists in the first place. Well, try it: (put 'list 'byte-optimizer 'byte-optimize-pure-func) (put 'list* 'byte-optimizer 'byte-optimize-pure-func) (put 'cons 'byte-optimizer 'byte-optimize-pure-func) (put 'append 'byte-optimizer 'byte-optimize-pure-func) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |