Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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