Re: [PATCH RFC 1/1] execute_cmd: avoid rebuilding export environment in comsub exec path

Chet Ramey <[email protected]> Wed, 13 May 2026 10:29:52 -0400
Newsgroups gmane.comp.shells.bash.bugs
Organization ITS, Case Western Reserve University
Message-ID <[email protected]>
On 5/12/26 3:35 AM, Gao Xiang wrote:
> From: Xiang Gao <[email protected]>
> 
> Fix a performance regression issue in command substitution when the shell
> has a large exported environment.

Thanks for the report and patch. This is a good catch.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc (application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE-----

wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCagSK4AUDAAAAAAAKCRC7WGnwZOp0q+aY
AJ9hHRfaUnO/F6SAVjh7swlp8Du5ggCdHzZPTAYlwemq1+YH1cUwaQ8eALk=
=wAUL
-----END PGP SIGNATURE-----