Subject: bug#14769: closed (Re: bug#14769: [PATCH] optimize `concat's literals)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 26 Jun 2019 09:45:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
14769: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14769
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#14769: [PATCH] optimize `concat's literals
From: Mattias Engdegård <[email-masked]>
To: Noam Postavsky <[email-masked]>
Cc: Lars Ingebrigtsen <[email-masked]>, Stefan Monnier <[email-masked]>, [email-masked], [email-masked]
Date: Wed, 26 Jun 2019 11:44:21 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

23 juni 2019 kl. 00.17 skrev Noam Postavsky <[email-masked]>:
> 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.

Subject: 24.3.50; [PATCH] optimize `concat's literals
From: Shigeru Fukaya <[email-masked]>
To: [email-masked]
Date: Wed, 03 Jul 2013 02:04:28 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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