Re: recompiling in .NET v2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Christopher Ireland wrote:

> I've got an app written under the v1.1 of the .Net framework and I'm
> now considering recompiling it under v2.0.
>
> Can I expect my app to run any faster? Are there any advantages to
> recompiling my v1.1 app under v2.0?

Just by recompiling? Some, I'm sure, but most of the advantages are
going to come from rewriting System.Object code (with all its casting)
as generics ... and even there, only in key lists / key enumerations.

foreach is faster against an IEnumerable<T> than against an
IEnumerable; List<T> is faster than ArrayList.

--
<http://www.midnightbeach.com>
.



Relevant Pages

  • Re: DLL Hell
    ... > Project 'Level2' is a simple class library and dependent on nothing else ... > recompiled.After I recompiled 'App' everything worked fine again. ... to recompile Level1 also, before recompiling App. ... we use different solutions (each having multiple projects) and ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: c0000005 - Access Violation
    ... I have an application in VB6 SP6, this app works very fine, but ... ocasinally throws an error c0000005 Exception. ... The stack in Dr. Watson should help to isolate the location of the error. ... try recompiling to pcode and run it. ...
    (microsoft.public.vb.bugs)
  • Re: Strange Results testing .Net vs. COM vs. Classic ASP ...
    ... I ran each app a number of times after recompiling and the results were the ... same - the native .net app took about twice as long to process. ... >> 1) A classic ASP page using an include file encapsulating component logic. ...
    (microsoft.public.dotnet.general)
  • Re: recompiling in .NET v2
    ... > I've got an app written under the v1.1 of the .Net framework and I'm ... > now considering recompiling it under v2.0. ... For example the XML stack is alot faster under v2 than v1.1 ...
    (microsoft.public.dotnet.languages.csharp)
  • recompiling in .NET v2
    ... I've got an app written under the v1.1 of the .Net framework and I'm ... now considering recompiling it under v2.0. ... "There is no way to peace; ...
    (microsoft.public.dotnet.languages.csharp)