Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: BUG: Always blocks perform tail call process optimization



On Tue, Jun 3, 2025 at 3:47 PM Philippe Altherr
<philippe.altherr@xxxxxxxxx> wrote:
>
> Here is an updated patch with tests.

This looks fine.

> On Sun, May 11, 2025 at 11:28 PM Philippe Altherr <philippe.altherr@xxxxxxxxx> wrote:
>>
>> When the last command of a subshell is another subshell or an external command, Zsh reuses the subshell's process instead of forking. Zsh allows this optimization in try blocks of always statements.




Messages sorted by: Reverse Date, Date, Thread, Author