From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2708 invoked by alias); 28 Jan 2015 12:13:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34425 Received: (qmail 27374 invoked from network); 28 Jan 2015 12:13:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7f126d000001e9a-d6-54c8cf7bcc30 Date: Wed, 28 Jan 2015 12:03:15 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: [PATCH] cache list of all python modules Message-id: <20150128120315.38e145b5@pwslap01u.europe.root.pri> In-reply-to: <1D943922-31DD-4F50-8AA9-5D6129402619@kba.biglobe.ne.jp> References: <1E3C634B-96C3-4237-AC72-4770D4A49167@kba.biglobe.ne.jp> <1D943922-31DD-4F50-8AA9-5D6129402619@kba.biglobe.ne.jp> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xq7rV50+EGNxYIW9xsPkhkwOjx6qD H5gCGKO4bFJSczLLUov07RK4MnZf2MRa8Iel4kDbUpYGxm/MXYycHBICJhL7tqxng7DFJC7c A7G5OIQEljJKnGxeAZYQEljCJNH2Xw4isY1RYs/FaWAJFgFViY2nNjGC2GwChhJTN80Gs0UE xCXOrj3PAmILC5hKrPm2FizOK2AvMfPlVlYQm1PAVeLBtf1MEAvqJe5d38AOYvML6Etc/fuJ CeIioPorZ6B6BSV+TL4HNpNZQEti87YmVghbXmLzmrfMEHPUJW7c3c0+gVFoFpKWWUhaZiFp WcDIvIpRNLU0uaA4KT3XUK84Mbe4NC9dLzk/dxMjJGi/7GBcfMzqEKMAB6MSD+8LsxMhQqyJ ZcWVuYcYJTiYlUR4H+8FCvGmJFZWpRblxxeV5qQWH2Jk4uCUamDU280+aVW+8aK951/cuH63 3Dd94ePvsRsCn8sfbd1oZm7imHX33ZTXr/7y7eFJLnCLFxZ2mcjXlTGz+upC+Yu7Y3jUbiS3 7UyMYJkXI61prnnTMGCHuecTobUWPOYnpjL/5GRtrZ30yvlUl+sFPuXyBJmcFdpRy/Wnvo85 ZBnyt8D08Kv5y88rsRRnJBpqMRcVJwIAtQNodjgCAAA= On Wed, 28 Jan 2015 20:54:38 +0900 Jun T. wrote: > 2015/01/28 01:49, Jun T. wrote: > > > #compdef lines in _python/_pydoc are modified to use -P pattern. > > Is it better to use > > #compdef python -P python[0-9.]# > > instead of the following? > > #compdef -P python[0-9.]# ...the point being -P specifies patterns to check through at the end, if it didn't find a specific match for the "service" in the hash. I guess it's a little bit more efficient to have the common case of "python" optimised, but I doubt it's worth losing sleep over. pws