On 17/07/2019 06:49, Roman Perepelitsa wrote:
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.
Really? Thats interesting. Is there any benchmarks available showing this? So is it actually possible to do this?
Nick