Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why sourcing a file is not faster than doing a loop with eval, zle -N
- X-seq: zsh-users 22733
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Why sourcing a file is not faster than doing a loop with eval, zle -N
- Date: Sat, 17 Jun 2017 09:39:19 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=tpuezWmZNoN+d8vlDlEssVHfZkWPaedK42YFAvDHctQ=; b=A7lWpGiTkoxcajIi6BZdB4VWPDbB2G3K0UsDDbCucR0AkmqJcCjgk030ch6YtL6WTs w0UEbsyigc3KUrOW5S6766lEx4mpyUoWs1cDYbuCiKxvC7Vzt2f6dllQHO8wy64XCCFk o5MF14SHNBpqjgoPgp2lskphxFfq1m97cgeuiC8r3uO9ZSCrlE8OskymW7HTBJHi6a1e tR00w+Vp7KGY1LAA6tXDW75Ci7hayrUdyOPQDPWUwNUcY12yT6xJktcwyAuK1ruYMv6L HtCihuPg76FEzEyMBcCRhGmhmXC3MxiOazid/O8FxrfWhXzPAAxU1DEnMPjo9YCNgldp Hiuw==
- In-reply-to: <etPan.59454e4c.589b5290.170d2@zdharma.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <etPan.594513a8.516100cd.10b2e@zdharma.org> <CAH+w=7bVXtubcdwvEBC9isE32683dUipAUS=vrAkgO5pp2bkkw@mail.gmail.com> <CAH+w=7afTi=1bfLBCmq8-vB-rLWDtEkAtk8gCCna3-mQwZ1-Ow@mail.gmail.com> <etPan.594538f9.2ea629d6.10b2e@AirmailxGenerated.am> <etPan.5945430b.7b33db1b.10b2e@zdharma.org> <etPan.59454e4c.589b5290.170d2@zdharma.org>
On Jun 17, 5:44pm, Sebastian Gniazdowski wrote:
}
} So the gain from zcompiled .fsh_cache seems to be maximal.
As long as you've got a good way to test these timings ... compile
your .fsh_cache file with "zcompile -R" and see if you still get
any speedup?
Some simple tests that I did seem to indicate that zcompile does
not do much good if the default "zcompile -M" behavior is disabled.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author