[Mono-bugs] [Bug 362598] Inline String.IsNullOrEmpty() calls
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 18 18:34:35 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=362598
User rkumpera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=362598#c1
Rodrigo Kumpera <rkumpera at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rkumpera at novell.com
Status|NEW |NEEDINFO
Info Provider| |msafar at novell.com
--- Comment #1 from Rodrigo Kumpera <rkumpera at novell.com> 2008-02-18 16:34:34 MST ---
String.IsNullOrEmpty is not inlinable for two reasons, it calls
String::get_Length and code length is bigger than 20 bytes.
The first issue can be solved by using String::length directly, but the second
requires that either the max inlinable method code size is increased on the JIT
side or mcs emits a shorter code sequence.
MCS always use the long form of branching opcode. Fixing this would save 6
bytes and have String.IsNullOrEmpty inlined.
How hard it would be to fix that on mcs?
--
Configure bugmail: https://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