[Mono-bugs] [Bug 524595] JIT produces very slow code if you use a temporary variable outside a try/catch block

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 25 14:56:56 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=524595

User anto.cuni at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=524595#c5





--- Comment #5 from Antonio Cuni <anto.cuni at gmail.com>  2009-07-25 12:56:54 MDT ---
I'd expect a good JIT to be able to optimize such simple cases, as it could
figure out that the "tmp" variable is not needed.  I think that enable this
basic optimization could speed up considerably a lot of existing code (although
I admit this is just a feeling, it's hard to prove it without implementing
:-)).

FWIW, the JVM runs the equivalent "slow" code at the same speed of the "fast"
one.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list