comparison lisp/ChangeLog @ 5266:f9ec07abdbf9

Transform safe calls to (= X Y Z) to (and (= X Y) (= Y Z)); same for < > <= >= lisp/ChangeLog addition: 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (= < > <= >=): When these functions are handed more than two arguments, and those arguments have no side effects, transform to a series of two argument calls, avoiding funcall in the byte-compiled code. * mule/mule-cmds.el (finish-set-language-environment): Take advantage of this change in a function called 256 times at startup.
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 16 Sep 2010 14:31:40 +0100
parents 5663ae9a8989
children 668c73e222fd
comparison
equal deleted inserted replaced
5265:5663ae9a8989 5266:f9ec07abdbf9
1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
2
3 * cl-macs.el (= < > <= >=):
4 When these functions are handed more than two arguments, and those
5 arguments have no side effects, transform to a series of two
6 argument calls, avoiding funcall in the byte-compiled code.
7 * mule/mule-cmds.el (finish-set-language-environment):
8 Take advantage of this change in a function called 256 times at
9 startup.
10
1 2010-09-16 Aidan Kehoe <kehoea@parhasard.net> 11 2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
2 12
3 * bytecomp.el (byte-compile-function-form, byte-compile-quote) 13 * bytecomp.el (byte-compile-function-form, byte-compile-quote)
4 (byte-compile-quote-form): 14 (byte-compile-quote-form):
5 Warn at compile time, and error at runtime, if a (quote ...) or a 15 Warn at compile time, and error at runtime, if a (quote ...) or a