[Top][All Lists]

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

Optimisation request

From: Martijn Dekker
Subject: Optimisation request
Date: Mon, 26 Nov 2018 22:29:39 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

I've noticed bash-5.0beta is quite a bit faster than bash-4.4 in running a lot of pure shell code. Good news.

One optimisation that isn't done yet: if a subshell function like

        f() (foo)

is used in a command substitution, it forks twice. I would like it if it could be optimised to eliminate the fork if the subshell function is the last command in the command substitution.


- M.

reply via email to

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