|
From: | Zack Weinberg |
Subject: | Re: byte-opt.el addition - optimize list of compile-time constants |
Date: | Wed, 08 Dec 2004 11:45:12 -0800 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes: >> 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) !! Symbol's function definition is void ((byte-optimize-pure-func)) I guess this is only in CVS Emacs? zw
[Prev in Thread] | Current Thread | [Next in Thread] |