caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Remi Vanicat" <remi.vanicat@gmail.com>
To: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Benchmarking different dispatch types
Date: Thu, 18 Jan 2007 16:52:23 +0100	[thread overview]
Message-ID: <6b8a91420701180752l6611b1aar1655980f1a48da33@mail.gmail.com> (raw)
In-Reply-To: <45AED8C8.3080808@gmail.com>

2007/1/18, Edgar Friendly <thelema314@gmail.com>:
> Either function calls are just that stupidly efficient, or there's some
> optimization still going on. I'm guessing the second.

well, here, the application are termial application that are optimized.

One should probably better do something like :
let f x =
  x + 100
let call_f () = 1 + (f 1)

let o = object
  method f_o x = x + 100
end
let call_o () = 1 + (o#f_o 1)

.... to force a non terminal application.


  parent reply	other threads:[~2007-01-18 15:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18  1:12 Nathaniel Gray
2007-01-18  2:17 ` [Caml-list] " Edgar Friendly
2007-01-18  3:03   ` Jonathan Roewen
2007-01-18 23:57     ` Nathaniel Gray
2007-01-18 15:52   ` Remi Vanicat [this message]
2007-01-18 22:33   ` Nathaniel Gray
2007-01-19  0:03     ` Robert Roessler
2007-01-31 17:03   ` Christophe TROESTLER
2007-01-18 16:56 ` William D. Neumann
2007-01-19  0:50 ` Jacques Garrigue
2007-01-19  8:30   ` Nathaniel Gray

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=6b8a91420701180752l6611b1aar1655980f1a48da33@mail.gmail.com \
    --to=remi.vanicat@gmail.com \
    --cc=caml-list@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;
as well as URLs for NNTP newsgroup(s).