[Mono-devel-list] Inefficiencies in mcs
Rodrigo B. de Oliveira
rbo at acm.org
Tue Feb 24 18:07:10 EST 2004
----- Original Message -----
From: "Andreas Nahr" <ClassDevelopment at A-SoftTech.com>
> Hi,
>
> ...
> L_0061:
> return num1;
> }
>
> Which intoduces an excess variable of type int and handles all return
cases
> at the end instead of immediately doing an constant int - return (which
> should be faster)
>
it should, shouldn't it? But does it?
I'm writing a compiler and my earlier tests showed me that code like that
can
in fact run faster sometimes... Time it. I'd be curious to know what you
come up with.
Best regards,
Rodrigo
More information about the Mono-devel-list
mailing list