bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14769: 24.3.50; [PATCH] optimize `concat's literals


From: Shigeru Fukaya
Subject: bug#14769: 24.3.50; [PATCH] optimize `concat's literals
Date: Wed, 03 Jul 2013 02:04:28 +0900

Current bytecode optimizer works only when all arguments are
constants.

With the attached small patch, adjacent successive literal arguments
of `concat' will become optimized to a string respectively.

        Make successive literals of `concat' optimized to a string.
        * byte-opt.el (byte-optimize-form-code-walker): call
        byte-optimize-concat-args for `concat'.
        (byte-optimize-concat-args): New function.

Regards,
Shigeru

Attachment: byte-opt.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]