What’s in NetFX 3.5 SP1?

Long time, no blog.   Since the NetFX 3.5 Service Pack is available, now, I figured I’d put up a quick rundown of what we (the CLR CodeGen team) contributed to the package.  I’m not going into nitty-gritty details, but just to give you an idea of what’s in it, and perhaps inspire you to…

4

Performance implications of unmanaged array accesses

I was recently shown the following code and asked why the loop calling SafeAccess executed significantly faster than the second loop calling UnsafeAccess:          static int [] intarray = new int [5000];               static void SafeAccess(int a, int b)        {            int temp = intarray[a];            intarray[a] = intarray[b];            intarray[b] =…