From: "Markus E.L." <ls-ocaml-developer-2006@m-e-leypold.de>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Which function is consing?
Date: Wed, 04 Jul 2007 16:29:49 +0200 [thread overview]
Message-ID: <oxy7hws0ma.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: <90BAEAF7-0710-44A3-BB2C-5075A2619371@gmail.com> (Joel Reymont's message of "Wed, 4 Jul 2007 11:52:24 +0100")
> Folks,
>
> There's apparently no way to determine what function is consing using
> the profiler.
>
> How do you get around this limitation in your production code?
I'm not sure I understand what you mean -- but if you're looking for
the function call(s) generated when a::as is compiled: There is no
such function AFAIK: :: is a constructor (like 'Some') not a
function (like (+)) and the construction process is completely inlined (using
ocaml -dinstr I see a makeblock in this instances, I assume that's
it).
Regards -- Markus
next prev parent reply other threads:[~2007-07-04 14:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 10:52 Joel Reymont
2007-07-04 14:12 ` [Caml-list] " Christopher L Conway
2007-07-04 14:29 ` Jon Harrop
2007-07-04 14:29 ` Markus E.L. [this message]
2007-07-04 14:24 ` Joel Reymont
2007-07-04 14:45 ` Bünzli Daniel
2007-07-04 18:19 ` Jon Harrop
2007-07-04 16:05 ` Brian Hurt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=oxy7hws0ma.fsf@hod.lan.m-e-leypold.de \
--to=ls-ocaml-developer-2006@m-e-leypold.de \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox