From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B8FC2BC88 for ; Tue, 8 Feb 2005 17:29:45 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j18GTjDH009320 for ; Tue, 8 Feb 2005 17:29:45 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA29477 for ; Tue, 8 Feb 2005 17:29:45 +0100 (MET) Received: from qrnik.knm.org.pl (paf87.warszawa.sdi.tpnet.pl [217.96.225.87]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j18GTf4Z009306 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 8 Feb 2005 17:29:44 +0100 Received: from qrczak by qrnik.knm.org.pl with local (Exim 3.36 #1) id 1CyYFB-0005Vu-00 for caml-list@inria.fr; Tue, 08 Feb 2005 17:29:41 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] paralell assignment problem X-Face: OW>RV&gN+&b-aiNY|U)f=S%w+/rK!);f>/W9IXg})]&F>ht.1Up8@04+_!gOp(_/l_-+E^. 2\vI)1=D,%HWiq)r(M/V~dr^5T^KF/[w5YZ4<0Sus3+O>l3uA/&W_21m?.s,Po8{pb0@ References: <1107832025.13571.260.camel@pelican.wigram> From: "Marcin 'Qrczak' Kowalczyk" Mail-Followup-To: caml-list@inria.fr Date: Tue, 08 Feb 2005 17:29:41 +0100 In-Reply-To: <1107832025.13571.260.camel@pelican.wigram> (skaller@users.sourceforge.net's message of "08 Feb 2005 14:07:06 +1100") Message-ID: <87r7jrrp56.fsf@qrnik.zagroda> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Marcin 'Qrczak' Kowalczyk" X-Miltered: at concorde with ID 4208E8F9.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4208E8F5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 sourceforge:01 writes:01 functions:01 variables:02 variables:02 rarely:02 problem:05 assign:05 variable:06 variable:06 depend:06 indirectly:07 i'm:08 cases:08 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: skaller writes: > x1,x2,x3..xn = e1,e2,e3 .. en > > where ei might contain the variables xj. (Note = here is assignment). If they contain calls to unknown functions, they might depend on these variables indirectly. So I'm not convinced that it's worth to eliminate temporaries in those rare cases when it's possible. After all, people rarely assign the value of a variable to another variable. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/