RE: Constants slower than array properties?
From: WXS (WXS_at_discussions.microsoft.com)
Date: 02/15/05
- Next message: Anonymous: "Creating Collections in Classes"
- Previous message: WXS: "Re: JIT Optimization Question\Feature request"
- In reply to: Paul Hill: "RE: Constants slower than array properties?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Feb 2005 07:27:02 -0800
Thanks very helpful!
Dave
"Paul Hill" wrote:
> It's interesting though if I use an unsafe code block with pointer or without
> pointer access it is generally slower than the normal safe code blocks.
>
> Kind of ironic, yeah? It's possible the JIT gets scared to optimise stuff
> it can't verify.
>
> > Are there any other optimizations like that .NET is doing, are they
> > documented anywhere? That could be very useful information to know.
>
> Yep:
>
> http://msdn.microsoft.com/library/en-us/dndotnet/html/dotnetperftechs.asp
> http://msdn.microsoft.com/library/en-us/dndotnet/html/dotnetperftips.asp
>
> That's the big list, although there's other little gotcha's that are more
> language specific. The Big Idea is that .NET is optimised for the general
> case; almost always trying to optimise makes it slower.
>
- Next message: Anonymous: "Creating Collections in Classes"
- Previous message: WXS: "Re: JIT Optimization Question\Feature request"
- In reply to: Paul Hill: "RE: Constants slower than array properties?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|