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
Tags
databases
debuggers
design advice
History of Visual Studio
locking
Pages
performance
quiz
ramblings
recommendations
signatures
using tools
visual studio
Archive
Archives
March 2012
(3)
February 2012
(3)
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Rico Mariani's Performance Tidbits
Performance Quiz #9 : IList<T> List and array speed
Posted
over 7 years ago
by
ricom
34
Comments
A short and sweet quiz with lots of juicy discussion possibilities: public int Sum( IList < ushort > indices) { int result = 0; for ( int i = 0; i < indices.Count; i++) result += indices[i]; return result; } Considering only the time it...
Rico Mariani's Performance Tidbits
Performance Quiz #9 : IList<T> List and array speed -- solution
Posted
over 7 years ago
by
ricom
8
Comments
Last week I posted Performance Quiz #9 for discussion. Well the comments have been just awesome and many people went right ahead and measured the results. Some of you have discovered the key point in this particular test: Arrays are magic. In the...
Rico Mariani's Performance Tidbits
Same Resource, Same Lock or else locking won't give you the protection you need
Posted
over 7 years ago
by
ricom
6
Comments
I sometimes see funny locking patterns because there is a mental assumption that the lock keyword (via Monitor features of the runtime) automatically guards the contents of the locked region. This isn't the case. All that is guaranteed is that only one...
Rico Mariani's Performance Tidbits
I guess he's worth reading now :)
Posted
over 7 years ago
by
ricom
2
Comments
My long time friend and colleague Jack Gudenkauf has joined the CLR as an architect http://blogs.msdn.com/jackg/archive/2006/02/06/526217.aspx I know Jack is expecting me to tell you all what a big loser I think he is but I'll surprise him by not...
Rico Mariani's Performance Tidbits
Performance Quiz #9 -- extra innings due to dispatch stubs
Posted
over 7 years ago
by
ricom
1
Comments
Well you'll recall that in the Performance Quiz #9 solution there was a surprising result where Test7 was actually faster than Test5 even though they appear to be doing basically exactly the same work. So my new challenge to you was to see if you can...
Rico Mariani's Performance Tidbits
Winning performance on Winforms from Milena
Posted
over 7 years ago
by
ricom
0
Comments
A great article on Winforms performance from a colleague http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/ Definately worth a read, thank you Milena!
Page 1 of 1 (6 items)