Re: BTF - B13 - Indexed part selects proposal

From: Stefen Boyd (stefen@boyd.com)
Date: Tue Jul 21 1998 - 13:08:19 PDT


At 11:47 AM 7/21/98 -0700, Karen L. Pieper wrote:

<p>BAD MSG:
>
What did we decide about a single versus double evaluation of the common
>subexpression? If there are side-effects in the expression, that makes
>a difference (function calls can create side-effects.).
>
I vote for single evaluation. If the function returns
a different value every call (because of $random, static
local variable, etc.) it would be *very* bad to have it
evaluated twice (our constant difference becomes variable...
oops!).
X-Lines: 14
Content-Type: text/plain; charset="us-ascii"
Content-Length: 195
X-Status: $$$$
X-UID: 0000000573
Status: RO

Stefen

--------------------

Stefen Boyd
__
| \ ____
|_/_ |
| \ |__
|___/oyd |
           |___nterprises
stefen@boyd.com
(408)739-BOYD
(408)481-9658 (fax)



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:52:58 PDT and
sponsored by Boyd Technology, Inc.