Browse thread
Which function is consing?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Markus E.L. <ls-ocaml-developer-2006@m...> |
| Subject: | Re: [Caml-list] Which function is consing? |
> 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