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.4 required=5.0 tests=AWL,DNS_FROM_RFC_POST, 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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id B1A9EBB84 for ; Tue, 15 Jul 2008 06:09:03 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEBAH+/e0hC+VLleGdsb2JhbACRbUMBDAMEBgcRA5N7hXw X-IronPort-AV: E=Sophos;i="4.30,363,1212357600"; d="scan'208";a="27321525" Received: from wx-out-0506.google.com ([66.249.82.229]) by mail4-smtp-sop.national.inria.fr with ESMTP; 15 Jul 2008 06:09:03 +0200 Received: by wx-out-0506.google.com with SMTP id i30so2671234wxd.15 for ; Mon, 14 Jul 2008 21:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=fU2UUYGGl9pvJnVfZ6LFvcrUB6tL1bpHR1hRJktss9o=; b=bgS9cVEH6gdwaI5BpHN47xjJWB5BC7Nj1A9zu87uNz3leRmsYr0665aUuGv5YqBtpN FMk3DdtqjRCabki4r9MQZ/kKbJQ3Vq6qQaXkcOrj6TFNZzGHiPVsXH5+Rnd8o3gmCqqg EBPQVHlH8lxGzeigk4ef1ywwpo3lm9BYpokWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=Pi1uZnH6ooEqd+ZafOB7dRH2mXUAVoQXvwZxHXSpC9KwP6S6PKIZtUs7RMxosF3nXT vJ42/kLakRawXADL7PKHq89uGtu3Raisnj5KF7adzlqEKAZ3MF8Yez79p1WG8j13WSvD mXpXDejeOWFP9KO6HzB4w5/I8j9CNNZ8dLceQ= Received: by 10.70.111.2 with SMTP id j2mr19430105wxc.86.1216094942000; Mon, 14 Jul 2008 21:09:02 -0700 (PDT) Received: by 10.70.46.12 with HTTP; Mon, 14 Jul 2008 21:09:01 -0700 (PDT) Message-ID: Date: Mon, 14 Jul 2008 21:09:01 -0700 From: "Jake Donham" Sender: jake.donham@gmail.com To: "Raj Bandyopadhyay" Subject: Re: [Caml-list] Q: Profiling ocaml using gprof Cc: caml-list@yquem.inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: a38c343f43263394 X-Spam: no; 0.00; ocaml:01 allocates:01 blits:01 buffer:01 wrote:01 caml-list:01 strings:01 argument:02 string:02 string:02 gprof:03 module:03 explicit:04 profiling:04 jul:05 On Mon, Jul 14, 2008 at 6:52 PM, Raj Bandyopadhyay wrote: > 'camlPervasives__$5e_136'. It's the string concatenation function (ASCII 5E is ^). It allocates a new string and blits the two argument strings into it, so you can probably do much better with explicit use of the Buffer module. Jake