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

Re: Nested function definition question



On Tue, Jul 16, 2019 at 4:45 PM Nick Cross <zsh@xxxxxxxxx> wrote:
>
> I realise its interpreted and it makes little or no difference, it was
> more out of curiosity ;-)

Inlining functions makes a big difference because function calls are
very expensive in ZSH. Calling a function to do something trivial
takes ~10 times longer than doing the same thing inline.

Roman.



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