From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id C92DBBC6B for ; Tue, 9 Oct 2007 01:24:01 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAO9YCkfAXQImh2dsb2JhbACORQEBAQgKKQ X-IronPort-AV: E=Sophos;i="4.21,245,1188770400"; d="scan'208";a="2648344" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Oct 2007 01:24:01 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l98NO1v0029437 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 9 Oct 2007 01:24:01 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALNYCkdA6ba7kmdsb2JhbACORQEBAQEHAgYTFg X-IronPort-AV: E=Sophos;i="4.21,244,1188770400"; d="scan'208";a="17607868" Received: from nf-out-0910.google.com ([64.233.182.187]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 Oct 2007 01:24:00 +0200 Received: by nf-out-0910.google.com with SMTP id g13so1148879nfb for ; Mon, 08 Oct 2007 16:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=rXbpehFg5JCl5OZxkNhcyMs9bl2RZeJXhYIHD4h28XU=; b=kBWtLGzwW8N3Dhl9Ry/H3zkvMODDFZ5B4VLWZ7sn07Qmtr/7PEHnQJdZdPndniX7l1zrfKVaS7YHCOEcXxb/hxMmVsjvbgk/rhryuV0adnrPfPwOEMBKogx62g9FD6z9NYHWJltAAzPM6p6oKT/oaD9aYnBI4mYWvp4qlxV32vI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=iZoCNmpASKr2KEJpVtUzQBzKz7Tn5p/8r9PLaPoNgQCuIxZscdR6G1G62NRT4PuhfKUIFdQDUCb2NVLeMxkGK9Hh19SBXWGt1Vwkm5krrWvhadTqDK+xYWNuMspyI4Xrn6GdAwv8s2TQ3yGduES3JXcx139XR8E4oLSoCm8dvWk= Received: by 10.86.28.5 with SMTP id b5mr5494322fgb.1191885839935; Mon, 08 Oct 2007 16:23:59 -0700 (PDT) Received: from ?192.168.0.5? ( [87.88.165.197]) by mx.google.com with ESMTPS id u9sm9810022muf.2007.10.08.16.23.57 (version=SSLv3 cipher=RC4-MD5); Mon, 08 Oct 2007 16:23:58 -0700 (PDT) Message-ID: <470ABC09.4040601@gmail.com> Date: Tue, 09 Oct 2007 01:23:53 +0200 From: Arnaud Spiwack User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Caml List Subject: Re: [Caml-list] Correct way of programming a CGI script References: <1191859489.10162.16.camel@localhost.localdomain> <1191879429.28011.27.camel@rosella.wigram> <20071009082147.657017dc.mle+ocaml@mega-nerd.com> <1191884703.26491.9.camel@rosella.wigram> <1191885562.26491.17.camel@rosella.wigram> In-Reply-To: <1191885562.26491.17.camel@rosella.wigram> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 470ABC11.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; forall:01 arnaud:01 arnaud:01 caml-list:01 int:01 len:02 programming:03 000:92 000:92 correct:08 felix:09 cgi:90 version:13 instead:14 does:14 > And here is the Felix (C++) version: > > int i; > var x = ""; > s := "a"; > forall i in 1 upto 10_000_000 do > x += s; > done; > println$ len x; > > Time: 0m0.198s Out of curiosity, does it work as well (meaning as fast) if you write "x = s+x" instead ? Arnaud Spiwack