caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
To: Diego Olivier Fernandez Pons
	<Diego-Olivier.FERNANDEZ-PONS@cicrp.jussieu.fr>,
	caml-list@inria.fr
Subject: Re: [Caml-list] égalité physique (==) avec Pervasives.(+)
Date: Tue, 07 Jan 2003 14:41:07 +0000	[thread overview]
Message-ID: <3E1AE703.8020001@univ-savoie.fr> (raw)
In-Reply-To: <Pine.A41.4.44.0301061837320.3793098-100000@ibm1.cicrp.jussieu.fr>

[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]

Peut-être que Pervasives.(+), correspondant à une instruction du processeur (ou 
presque) et donc pas à une fonction habituelle, le compilo reconstruit-il une 
nouvelle fonction (ou cloture) à chaque fois que l'on utilise (+) de façon 
partielle.

Il me semble un peu bizarre d'utiliser l'égalité physique sur des fonctions !
cela suppose que l'on connait le mécanisme utilisé par le compilateur pour 
créer de nouvelles clôtuers ou utiliser les anciennes, ce qui n'est pas très bon:
- impossible de prouver les programmes,
- aucune garanties qu'ils tourneront sur les versions futures du langage !

Même l'orsqu'il s'agit d'une optimisation, il est important d'être sur qu'elle 
remplit son usage ! (même si le programm marche quel que soit le résultat de ==)

-- 
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature
---------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2003-01-07 21:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-06 17:58 Diego Olivier Fernandez Pons
2003-01-07 14:41 ` Christophe Raffalli [this message]
2003-01-08 16:51   ` Florian Hars
2003-01-08 17:34   ` Diego Olivier Fernandez Pons

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=3E1AE703.8020001@univ-savoie.fr \
    --to=christophe.raffalli@univ-savoie.fr \
    --cc=Diego-Olivier.FERNANDEZ-PONS@cicrp.jussieu.fr \
    --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).