From ... From: Erik Naggum Subject: Re: Pass by reference Date: 2000/11/17 Message-ID: <3183480250548685@naggum.net>#1/1 X-Deja-AN: 694866192 References: <3183311478192040@naggum.net> <3183389778776917@naggum.net> <8v30kj$60rs$1@fido.engr.sgi.com> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 974492222 24702 195.0.192.66 (17 Nov 2000 20:17:02 GMT) Organization: Naggum Software; vox: +47 800 35477; gsm: +47 93 256 360; fax: +47 93 270 868; http://naggum.no; http://naggum.net User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Mime-Version: 1.0 NNTP-Posting-Date: 17 Nov 2000 20:17:02 GMT Newsgroups: comp.lang.lisp * Joe Marshall | A slightly more clever compiler might notice that i and index can be | shared: | (loop for index from 0 below (length v1) | summing (* (aref v1 index) (aref v2 index))) Wouldn't a slightly _less_ "clever" programmer do this right away? #:Erik -- ALGORITHM: a procedure for solving a mathematical problem in a finite number of steps that frequently involves repetition of an operation. ALGOREISM: a procedure for solving an electoral problem in a finite number of steps that frequently involves repetition of an operation.