Sign In
Rico Mariani's Performance Tidbits
Implying no warranties and conferring no rights: "AS IS" since 1988
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
databases
debuggers
design advice
History of Visual Studio
locking
Pages
performance
quiz
ramblings
recommendations
signatures
using tools
visual studio
Archive
Archives
February 2012
(1)
January 2012
(3)
December 2011
(1)
November 2011
(1)
September 2011
(1)
September 2010
(1)
June 2010
(1)
April 2010
(5)
December 2009
(1)
October 2009
(13)
September 2009
(2)
August 2009
(1)
June 2009
(3)
May 2009
(3)
December 2008
(1)
November 2008
(4)
September 2008
(2)
August 2008
(6)
June 2008
(2)
May 2008
(2)
February 2008
(2)
January 2008
(2)
November 2007
(5)
October 2007
(2)
September 2007
(3)
August 2007
(3)
July 2007
(3)
June 2007
(6)
May 2007
(1)
April 2007
(2)
March 2007
(1)
February 2007
(5)
January 2007
(7)
December 2006
(2)
November 2006
(1)
September 2006
(4)
August 2006
(4)
July 2006
(12)
June 2006
(3)
May 2006
(5)
April 2006
(6)
March 2006
(6)
February 2006
(2)
January 2006
(2)
December 2005
(2)
November 2005
(8)
October 2005
(4)
September 2005
(4)
August 2005
(7)
July 2005
(2)
June 2005
(3)
May 2005
(12)
April 2005
(3)
March 2005
(5)
February 2005
(2)
January 2005
(3)
December 2004
(2)
November 2004
(2)
October 2004
(3)
September 2004
(4)
August 2004
(3)
July 2004
(4)
June 2004
(8)
May 2004
(6)
April 2004
(4)
March 2004
(8)
February 2004
(4)
January 2004
(3)
December 2003
(11)
January, 2007
MSDN Blogs
>
Rico Mariani's Performance Tidbits
>
January, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Rico Mariani's Performance Tidbits
.NET Framework Allocation Complexity Graph
Posted
over 5 years ago
by
ricom
7
Comments
A quick graphical view of how the framework measures up. This graph shows the number of methods of any given allocation complexity on a logarithmic scale. This allocation complexity is discussed in more detail in performance quiz #12 and this...
Rico Mariani's Performance Tidbits
Performance Quiz #12 -- The Cost of a Good Hash -- Solution
Posted
over 5 years ago
by
ricom
6
Comments
Well once again there have been many thoughtful replies to both the original question as well as the followup with hints. Recall the original question asked a bit of trivia: could you name 5 implementations of GetHashCode in the framework that do things you might not expect to see in a hash function? It's a little bit of a vague question and also requires a good deal of arcane knowledge of the CLR. The most interesting thing about the discussion I think is just what people considered "unusual." But as always there was a method to my madness. So without further ado here's my list of "unusual" hash functions, there are 53 of them. ...
Rico Mariani's Performance Tidbits
Performance Quiz #12 -- The Cost of a Good Hash -- Some Help
Posted
over 5 years ago
by
ricom
32
Comments
I continue to be astounded by what my readers can come up with. As usual I had a purpose for posing my last question and that purpose was to show that basically its hard to get a handle on what things cost in any kind of omnibus way. But imagine my...
Rico Mariani's Performance Tidbits
Performance Quiz #12 -- The Cost of a Good Hash
Posted
over 5 years ago
by
ricom
28
Comments
This quiz is a little bit different than some of my others. Here is System.String.GetHashCode public override unsafe int GetHashCode() { fixed (char* text1 = ((char*) this)) { char* chPtr1 = text1; int num1 = 0x15051505; int num2 = num1; ...
Rico Mariani's Performance Tidbits
Good Advice Scorned
Posted
over 5 years ago
by
ricom
5
Comments
I thought it might be interesting to start a discussion about what is possibly the number one frustration of the performance architect: What do you do when they won't listen to you ? I'm sure you've all faced this, you lay out the situation, you show...
Rico Mariani's Performance Tidbits
Five Things About Me
Posted
over 5 years ago
by
ricom
3
Comments
I guess it's fate: I was blog tagged by both Jeff Beehler and J.D. Meier within hours of one another. So here are my five things you probably didn't know about me (but some of you do). I got my first professional programming job (I was 15 years old) at...
Rico Mariani's Performance Tidbits
Memory leaks 101: Objects anchored by event generators
Posted
over 5 years ago
by
ricom
9
Comments
This problem actually comes up pretty often so I thought I'd write a little article about it, and a couple of approaches to solving it. Basically any time you take an object "Your Object" whose life you want the GC to manage and then create a reference...
Page 1 of 1 (7 items)