From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2922 invoked from network); 19 Jul 2000 17:32:32 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Jul 2000 17:32:32 -0000 Received: (qmail 21594 invoked by alias); 19 Jul 2000 17:32:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12317 Received: (qmail 21551 invoked from network); 19 Jul 2000 17:32:16 -0000 Date: Wed, 19 Jul 2000 13:30:47 -0400 From: Clint Adams To: Sven Wischnowsky Cc: zsh-workers@sunsite.auc.dk Subject: Re: excessive memory usage? Message-ID: <20000719133047.B4548@scowler.net> References: <200007191307.PAA10850@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <200007191307.PAA10850@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Wed, Jul 19, 2000 at 03:07:44PM +0200 > If there isn't anything else in this file, then we don't need to use > _arguments. Because calling _arguments with only one `*:...' spec and > no options, no other arguments specs is the same as doing the action > from the `*:...' spec. Only slower. dict takes a number of options, so some of them will probably find their way into the _arguments call. > And if this is ever intended to be included in the distribution, the > -M should be removed, there are enough styles around to give users the > possibility to define them if they want them. In a simple personal > completion function, of course... dict doesn't require any data to exist on the client machine; I content myself to use dict.org, rather than running a server. For the distribution, I'd rather see dict used itself to get the available words, say, by parsing `dict -m -s re '.*'` or perhaps something more efficient. Of course, I just tried this, and was greeted with dict (xmalloc): Out of memory while allocating 4072 bytes Figures.