Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: One more heap optimization trick for zsh < 5.2
- X-seq: zsh-users 21571
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: One more heap optimization trick for zsh < 5.2
- Date: Tue, 17 May 2016 03:18:15 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=r0aUT52GjDoNY3fDm6yMUppPRbIkIchjGThgpSCB1g4=; b=nW8eauXZ9CDwxlwlxGke49anvZsJ+Wsey6dL6/Sf2X8NG5DIgQO4Oe+RJ8xMUYYhte YyQE029DvqOS8iHGvMXAiV84XZwr06CfS0ymUI7bw3mwr33dsksrUX2WM8cBD4FnmLE7 xCucMWpg/tILnQe4xwi6zteQ4NdNatpXpsKK37Dn/SMAHbTtoJl+KgmtMcLnurmnki3F Oo+4b9oo6Em4aCFbFP+Q2wU+Ur0L7lkEbwYmJEQoXjqFIwXnUDi+s5OAXuTxkJrQhFBm wLwNtePwPwtPqxAbuMrBs4meKhz9vdvgmS3st8YdBNrvKqg4BrHi8GGHa+S6/jMt2LUu 4soQ==
- In-reply-to: <CAKc7PVDaLHs3xEVJGFn1F2M0BEEOzZFt8enMis7tTmbVKLx12Q@mail.gmail.com>
- 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: <CAKc7PVDRk2hx9i0T62fnD=v__1RbB9sPr5ni_mHXLojVa4sotA@mail.gmail.com> <160508093530.ZM9686@torch.brasslantern.com> <CAKc7PVDaLHs3xEVJGFn1F2M0BEEOzZFt8enMis7tTmbVKLx12Q@mail.gmail.com>
On Mon, May 16, 2016 at 8:01 AM, Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> I was testing the same input with 89k lines. The cause now
> accidentally clarified. It's about zplugin's shadowing of autoload
Are you sure it's the wrapper and not the autoloading? It's pretty
common for the first run of an autoloaded function to be slower than
subsequent runs.
> It's hard to describe what *reload-and-run does
It temporarily alters FPATH when invoking an autoloaded function so
that the function is found in / loaded from a particular location.
> How do you think what can be
> happening inside Zsh?
Other than the normal autoloading stuff, nothing I can think of. Is
the value of FPATH becoming especially large? Could the slowdown be
external to zsh, e.g., opening/reading of directories in the fpath
search slower?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author