<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/7af23fdb84955df7febee50c37327874"
  from="Vaibhav Bhandari &lt;vaibhav@c...&gt;"
  author="Vaibhav Bhandari"
  date="2003-01-24T07:21:08"
  subject="[Caml-list] Function Indirection overhead?"
  prev="2003/01/1affb50e5d962f4bcb04523873b98eec"
  next="2003/01/c7536faa6a91c5b1a83c95b78da4f5fd"
  next-in-thread="2003/01/ccc2e51cee94b42e99f894931dc700df"
  prev-thread="2003/01/d579dc7183e18352238ff4a8f4a069ee"
  next-thread="2003/01/bbfcc4a81696d676b28eef051f7f310f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Function Indirection overhead?">
<msg 
  url="2003/01/7af23fdb84955df7febee50c37327874"
  from="Vaibhav Bhandari &lt;vaibhav@c...&gt;"
  author="Vaibhav Bhandari"
  date="2003-01-24T07:21:08"
  subject="[Caml-list] Function Indirection overhead?">
<msg 
  url="2003/01/ccc2e51cee94b42e99f894931dc700df"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-01-24T10:34:16"
  subject="Re: [Caml-list] Function Indirection overhead?">
</msg>
</msg>
</thread>

<contents>
I am not sure, if in ocaml we write

let f = Hop.a;

where f and Hop.a are methods, does the compiler "short-circuit" the call,
or not?

Does anyone know?  How can we find out?  A benchmark?

regards,
vaibhav

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

