[Mono-dev] vbc compiler treats AscW as CInt with /novbruntimeref
Rolf Bjarne
rolfbasura at ya.com
Mon Aug 28 05:53:49 EDT 2006
Hi,
You are correct, vbc is special-cased in order to compile the VB runtime,
however it only saves a method call, since Convert.ToInt32(Char) does what
the vbc compiled AscW(Char) does. And if you are concerned about
performance there are a lot of other places in the compiler and the
runtime that can be improved with much better results!
Rolf
> Hi,
> You are right, the attached test fails with vbc 2.0. I should do check
> with vbc 2.0 as well.:)
> But this really seems to be a feature. Apply the attached patch to the
> VB runtime and compile it:
> VB.build.bat 2 debug
> It compiles. And have a look at the resulted Strings.AscW.
> Kornél
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006
More information about the Mono-devel-list
mailing list