Version française
Home     About     Download     Resources     Contact us    
Browse thread
Q: Profiling ocaml using gprof
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Hanquez <tab@s...>
Subject: Re: [Caml-list] Q: Profiling ocaml using gprof
On Mon, Jul 14, 2008 at 09:09:01PM -0700, Jake Donham wrote:
>  On Mon, Jul 14, 2008 at 6:52 PM, Raj Bandyopadhyay <rajb@rice.edu> 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.

or the explicit String.concat that can account for multiple
concatenations in one go (allocate once, and blit everything).

-- 
Vincent