From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D88A5BBBB for ; Mon, 27 Feb 2006 23:40:29 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1RMeTYI027295 for ; Mon, 27 Feb 2006 23:40:29 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA00023 for ; Mon, 27 Feb 2006 23:40:28 +0100 (MET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k1RMeRGG027290 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 27 Feb 2006 23:40:28 +0100 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FDr2M-0002nn-QF for caml-list@inria.fr; Mon, 27 Feb 2006 23:40:15 +0100 Received: from arbutus.physics.mcmaster.ca ([130.113.172.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2006 23:40:14 +0100 Received: from cookedm+news by arbutus.physics.mcmaster.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Feb 2006 23:40:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: cookedm+news@physics.mcmaster.ca (David M. Cooke) Subject: Re: Question on performance/style issue Date: Mon, 27 Feb 2006 17:37:37 -0500 Message-ID: References: <43FF2BC9.6030503@studio.baretta.com> <20060224190501.GA27740@fork.recoil.org> <43FF5DA6.6000600@studio.baretta.com> <200602251214.03353.Andrej.Bauer@andrej.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: arbutus.physics.mcmaster.ca X-Message-Flag: If you can read this, you're standing too close User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:NkRBd5A2cDsdw7vCoPPeOMJ52Ec= Sender: news X-Miltered: at nez-perce with ID 44037FDD.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44037FDB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; andrej:01 andrej:01 baretta:01 anil:01 syntax:01 notation:01 wrote:01 wrote:01 writes:01 integer:01 mcmaster:02 mcmaster:02 python:02 programming:03 alessandro:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 Andrej Bauer writes: > On Friday 24 February 2006 20:25, Alessandro Baretta wrote: >> Anil Madhavapeddy wrote: >> >>>x ++ f ++ g ++ h >> >> >> >>What is the impact of the this programming style on execution >> >> performance? > > 1. It should be easy enough to extend the syntax so that you don't have to > worry about it getting compiled away. > > 2. Mathematica uses notation x // f. Why not use the same? Many people will > misunderstand ++ as something coming from C. Those of use who don't use Mathematica will misunderstand that as a comment (from C++), or an integer divide (Python), or ...? :-) -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke |cookedm(at)physics(dot)mcmaster(dot)ca