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

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

[debbugs-tracker] bug#14769: closed (24.3.50; [PATCH] optimize `concat's


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14769: closed (24.3.50; [PATCH] optimize `concat's literals)
Date: Wed, 26 Jun 2019 09:45:02 +0000

Your message dated Wed, 26 Jun 2019 11:44:21 +0200
with message-id <address@hidden>
and subject line Re: bug#14769: [PATCH] optimize `concat's literals
has caused the debbugs.gnu.org bug report #14769,
regarding 24.3.50; [PATCH] optimize `concat's literals
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
14769: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14769
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 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


--- End Message ---
--- Begin Message --- Subject: Re: bug#14769: [PATCH] optimize `concat's literals Date: Wed, 26 Jun 2019 11:44:21 +0200
23 juni 2019 kl. 00.17 skrev Noam Postavsky <address@hidden>:
> 
> Yeah, no problem.

I take that as approval for the patch then, which has become somewhat more 
urgent now that the rx `literal' patch has been pushed.
The alternative would be to add this concat-simplification logic to rx instead 
(why ry does), but it is of general use.
Pushed to master.



--- End Message ---

reply via email to

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