Re: Best charting package
- From: bob.milanov@xxxxxxxxx
- Date: 25 Jan 2007 11:02:57 -0800
Hi Serge,
You're right about the property inlining, but it is present only in the
..NET framework 2.0 and to a certain level - for example having a simple
if statement in the property may disable the property from inlining.
In version 1.x the specs say that if the class is marked as sealed the
compiler will attempt to inline code however that does not happen - it
will always compile to a function call. I guess in 2.0 the jitter
rectifies this to some extend in order to improve the framework
performance because the whole code is written with property access.
Best regards,
Bob
Serge Baltic написа:
Hello,
The drawbacks of C# performance wise:
- If I can I would like to be able to control if a variable is stored
in a register or not. This is a must have for any language that is
targeting performance.
- Inline functions / properties are badly missing.
They're just as missing in modern C++ compilers. MSVC would ignore the register
and inline hints relying more on its judgement of what should be optimized
in the code. On the other hand, the .NET JITter is capable of register-ing
the variables (or, better to say, the evaluation stack items) and inlining
certain methods and properties. On this matter, accessing a field thru a
property does not necessarily mean a function call.
(H) Serge
.
- References:
- Re: Best charting package
- From: bob . milanov
- Re: Best charting package
- From: Serge Baltic
- Re: Best charting package
- Prev by Date: Re: Best charting package
- Next by Date: Re: Selecting a value in a ComboBox
- Previous by thread: Re: Best charting package
- Next by thread: Re: Best charting package
- Index(es):
Relevant Pages
|