From: "Mauricio Fernández" Date: 2002-12-09T03:36:05+09:00 Subject: Re: (OT) Re: elseif? On Sun, Dec 08, 2002 at 11:53:04PM +0900, MikkelFJ wrote: > > "ts" wrote in message > news:200212081116.gB8BGgU27230@moulon.inra.fr... > > >>>>> "T" == Tim Hunter writes: > > > > T> (This is based on my >20 year old memory of FORTRAN 77, so I could be > > T> off in the details. I believe "computed GOTO" is deprecated in current > > T> FORTRANs. :-) > > > > I hope it's deprecated. I take me 3 days to debug one of my FORTRAN 4 > > program written with computed GOTO (ACP program) and it's worst than a > > case statement. But I always write stupid things :-)) > > The ocaml bytecode interpreter on gcc runs 50% faster than the equivalent on > MSVC despite the fact that MSVC is generally optimizing better than gcc. The > reason? gcc supports computed gotos which apparently allows the interpreter > to translate opcodes to addresses of subroutines, thus avoiding an extra > computational step for each instruction. Parrot is using GCC's computed gotos, too. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Sex, Drugs & Linux Rules -- MaDsen Wikholm, mwikholm@at8.abo.fi