English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] ocamlopt and Windows DLL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-05-21 (16:43)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Obsessed by speed

>3. Would ocamlopt benefit from a peephole optimizer of
>   the assembler code? Or is the assembler code already
>   optimal?

I have seen lots of cases where a peephole optimizer (or a very special case ocamlopt optimizer that recognizes certain idioms) would help.  For example, lots of loops seem to keep any integers tagged even if they are only used inside the loop, and the asm untags them every time they're used.

Chris

-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr