From: Nick Cross <zsh@goots.org>
To: Ray Andrews <rayandrews@eastlink.ca>, zsh-users@zsh.org
Subject: Re: Nested function definition question
Date: Tue, 16 Jul 2019 15:44:03 +0100 [thread overview]
Message-ID: <8c968d3a-2a7a-d16c-25f4-2fc13cdfffa7@goots.org> (raw)
In-Reply-To: <e1dfa447-b1c2-efec-148c-d93cf8f2cd09@eastlink.ca>
On 16/07/2019 15:13, Ray Andrews wrote:
> On 2019-07-16 1:43 a.m., Nick Cross wrote:
>>
>>
>> Is there a way of 'inlining' the definition of common in foo so that I
>> don't have to call it each time? ( but the source can still be
>> separated out for maintenance purposes )
>>
> Why would you want to? It's interpreted so there'd be almost no
> difference in speed even if you did actually inline it, no? Mind I
> suppose if 'common()' was autoloaded there might be a microsecond
> improvement but.
>
>
I realise its interpreted and it makes little or no difference, it was
more out of curiosity ;-)
Nick
next prev parent reply other threads:[~2019-07-16 14:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-16 8:43 Nick Cross
2019-07-16 14:13 ` Ray Andrews
2019-07-16 14:44 ` Nick Cross [this message]
2019-07-17 5:49 ` Roman Perepelitsa
2019-07-17 9:34 ` Nick Cross
2019-07-17 9:54 ` Roman Perepelitsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c968d3a-2a7a-d16c-25f4-2fc13cdfffa7@goots.org \
--to=zsh@goots.org \
--cc=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).