Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14855 > unrolled thread

Optimisation request

Started byMartijn Dekker <martijn@inlv.org>
First post2018-11-26 22:29 +0100
Last post2018-11-26 22:29 +0100
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug


Contents

  Optimisation request Martijn Dekker <martijn@inlv.org> - 2018-11-26 22:29 +0100

#14855 — Optimisation request

FromMartijn Dekker <martijn@inlv.org>
Date2018-11-26 22:29 +0100
SubjectOptimisation request
Message-ID<mailman.4687.1543267788.1284.bug-bash@gnu.org>
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.

Thanks,

- M.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web