Re: C# and compiler optimizer.
- From: Christoph Nahr <christoph.nahr@xxxxxxxxxxxxx>
- Date: Fri, 15 Apr 2005 12:20:30 +0200
On Fri, 15 Apr 2005 09:25:15 +0200, "Olaf Baeyens"
<olaf.baeyens@xxxxxxxxxx> wrote:
>Doing vector calculation, a few millions of them in one pass. :-)
>Those vectors have public properties X, Y and Z that (looking at IL asm)
>appears not to be inline even though they are just stupid float without any
>additional coding.
Inlining of trivial property getters/setters is done by the JIT
compiler, so that's actually not a problem.
However, your project sounds as if it could profit from some
higher-level optimizations which the C#/VB and JIT compilers aren't
doing, neither in this nor in the next version -- the MS teams are too
busy implementing new features, I suppose.
That leaves the C++ compiler which is the only one that emits
optimized IL code. Unfortunately the current version of C++ for the
..NET Framework (called "Managed C++") is pretty ugly but .NET 2.0 will
ship with a much improved version called "C++/CLI".
--
http://www.kynosarges.de
.
- Follow-Ups:
- Re: C# and compiler optimizer.
- From: Daniel O'Connell [C# MVP]
- Re: C# and compiler optimizer.
- From: Olaf Baeyens
- Re: C# and compiler optimizer.
- References:
- C# and compiler optimizer.
- From: Olaf Baeyens
- Re: C# and compiler optimizer.
- From: Helge Jensen
- Re: C# and compiler optimizer.
- From: Olaf Baeyens
- C# and compiler optimizer.
- Prev by Date: Re: C# and compiler optimizer.
- Next by Date: get I/O control code constants of NDIS IM using C#
- Previous by thread: Re: C# and compiler optimizer.
- Next by thread: Re: C# and compiler optimizer.
- Index(es):
Loading