From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16314 invoked by alias); 17 Jun 2017 16:38:42 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 22733 Received: (qmail 8071 invoked from network); 17 Jun 2017 16:38:42 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.50):SA:0(-0.0/5.0):. Processed in 1.153294 secs); 17 Jun 2017 16:38:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.50 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=tpuezWmZNoN+d8vlDlEssVHfZkWPaedK42YFAvDHctQ=; b=W4F9Yv/rQ8aNr5mzp1n1vSjAwMmkOdq/Zz5lmCc0dsQ81DI7lgBmUrk87b05o0KV4n OhenGiWOLV1WllSM7GllziYUwcdJoFjTzC1L2wf27QKKXHdn8BjgVSIOtxdtxce9ShJP j6i3RIlTDyqnCgc5iblBhmZn6W94/MP7meGccKnnj7WD/8Lgievm3YwsCWba8B/Gh1CA brE7tOr4Bft6Nm0Tt2T8dP7HD8mWytJMVjPfwyS4G8vZprcsqv3Juq7/BwF06FsTGywP tJ7O7jN1utgASmYHaXWQnBVoA9BqvUBwjQx4uXcA3s9bK/CcBDWHL3rqmUVhudMLDUC+ U6FQ== X-Gm-Message-State: AKS2vOyajgm6l8Wm4DzATh882P6fX2mPaL3bA5Dm9n9RGBMSwQDEHWp8 Mcpo+EnWqNGmvmSO7UE= X-Received: by 10.31.195.196 with SMTP id t187mr9059838vkf.151.1497717513386; Sat, 17 Jun 2017 09:38:33 -0700 (PDT) From: Bart Schaefer Message-Id: <170617093919.ZM990@torch.brasslantern.com> Date: Sat, 17 Jun 2017 09:39:19 -0700 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Why sourcing a file is not faster than doing a loop with eval, zle -N" (Jun 17, 5:44pm) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh Users Subject: Re: Why sourcing a file is not faster than doing a loop with eval, zle -N MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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.