Mikio Nakajima <minakaji(a)osaka.email.ne.jp> writes:
I was doing these for byte-opt.el of FSFmacs, and perhaps has
finished. Now I apply same thing to byte-optimize.el of XEmacs. I
will send diff file xemacs-patches.
1999-11-01 Mikio Nakajima <minakaji(a)osaka.email.ne.jp>
Next time please
1. include the Changelog and the patch in the same message
2. Use 'diff -u'
thanks..
* byte-opt.el: Put byte-optimzier properties of `when' and
`unless' to `byte-optimize-when'.
(byte-optimize-when): New function.
(byte-optimize-form-code-walker): Optimize form of
which car is `when' or `unless'.
Why is this needed? Isn't 'when' a macro that expands to
(if (form here) (progn ...))
so that just handling the if case is enough?
Jan
P.S. I'll look at it in more detail later.