Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Timing Ocaml
[ 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] Timing Ocaml

>* The GNU C compiler gcc is recommended, as the bytecode
>   interpreter takes advantage of gcc-specific features to enhance
>   performance.
>What is the nature of these optimizations?

GCC lets you take the address of a label.  You can see in byterun/interp.c 
that it uses a jump table instead of a switch when you're using GCC.

At least, that's what it looks like.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: