From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id CAA03067 for ; Thu, 21 Nov 1996 02:52:54 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA29434; Wed, 20 Nov 1996 10:44:43 -0500 (EST) Resent-Date: Wed, 20 Nov 1996 10:44:43 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199611201545.QAA04252@bolyai.cs.elte.hu> Subject: Re: 3.1.0-test3: gcc -ansi -pedantic In-Reply-To: <199611200857.JAA23579@hydra.ifh.de> from Peter Stephenson at "Nov 20, 96 09:57:06 am" To: pws@ifh.de (Peter Stephenson) Date: Wed, 20 Nov 1996 16:45:19 +0100 (MET) Cc: zsh-workers@math.gatech.edu Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL27 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"dvLnr1.0.nB7.gToao"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2440 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Peter Stephenson wrote: > bin_read() (2) the function casts in module.c (3) the variable-sized > arrays in subst.c (which only affects gcc anyway). The IRIX Perhaps it would be best to write a configure check to test wether the compiler supports variable-sized arrays. In subst.c the code is much more efficient with variable-sized arrays that's why I added this hack. And when you sort a long list it may cause noticable speed difference (or maybe not in that case since halloc is really fast, but that consumes lot of heap memory). Zoltan