Re: Boxing and Unboxing of Value-Types when passed to a method call

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 01/25/05


Date: Tue, 25 Jan 2005 20:36:42 +0100

Ali,

Why you bother for boxing and unboxing on Net. The used OS needs processors
with speeds which are almost all above the 0.5 Ghz. Boxing and unboxing is
in that kind of computers nothing.

Boxing and unboxing can be in my opinon only still be important on the
CE-Network.

When there is a datareader involved as you write or any other IO like that,
than the reading will take that much time, that you can forget in my opinion
the time for boxing and unboxing, there are better places to win processing
speed.

Just my opinion.

Cor



Relevant Pages

  • Re: Boxing and Unboxing of Value-Types when passed to a method call
    ... > Why you bother for boxing and unboxing on Net. ... The used OS needs processors ... > with speeds which are almost all above the 0.5 Ghz. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: advantage of boxing and unboxing
    ... The only cases in which boxing / unboxing is likely to cause problems ... Garbage collector costs to reclaim the box when it's no longer ... resources, would something as simple as the following take alot of ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Roll your own std::vector ???
    ... dynamic collection that doesn't use any boxing or ... unboxing. ... public IEnumeratorGetEnumerator() ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Roll your own std::vector ???
    ... dynamic collection that doesn't use any boxing or ... unboxing. ... public IEnumeratorGetEnumerator() ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Boxing and Unboxing ??
    ... But, without evidence, you seem obsessed with boxing and unboxing. ... always avoid passing large aggregate data types by value. ... Now we have a function that is 100,000-fold slower than necessary ...
    (microsoft.public.dotnet.languages.csharp)