<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: First look at NDepend</title>
	<atom:link href="http://blog.brianhartsock.com/2009/10/08/first-look-at-ndepend/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.brianhartsock.com/2009/10/08/first-look-at-ndepend/</link>
	<description>The exciting life of a software developer and nerd</description>
	<lastBuildDate>Tue, 29 Nov 2011 22:19:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: bhartsock</title>
		<link>http://blog.brianhartsock.com/2009/10/08/first-look-at-ndepend/comment-page-1/#comment-905</link>
		<dc:creator>bhartsock</dc:creator>
		<pubDate>Tue, 13 Oct 2009 02:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=968#comment-905</guid>
		<description>Wow.  I feel dumb.  I played around with CQL but didn&#039;t really read the comments :)</description>
		<content:encoded><![CDATA[<p>Wow.  I feel dumb.  I played around with CQL but didn&#8217;t really read the comments :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Smacchia</title>
		<link>http://blog.brianhartsock.com/2009/10/08/first-look-at-ndepend/comment-page-1/#comment-898</link>
		<dc:creator>Patrick Smacchia</dc:creator>
		<pubDate>Sun, 11 Oct 2009 17:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.brianhartsock.com/?p=968#comment-898</guid>
		<description>&gt;Here is an example, why is List.Contains() worth warning? 

This rule is a default rule because we (the NDepend team) have seen (in the real-world) so many algorithm with poor performance only because of a wrong use of Contain. Here is the explanation we put in the rule.

// The cost of checking if a list contains an 
// object is proportional to the size of the list 
// (O(N) operation). For large lists and/or frequent 
// calls to Contains(), prefer using the 
// System.Collections.Generic.HashSet class 
// where calls to Contains() takes a constant 
// time (O(0) operation).</description>
		<content:encoded><![CDATA[<p>&gt;Here is an example, why is List.Contains() worth warning? </p>
<p>This rule is a default rule because we (the NDepend team) have seen (in the real-world) so many algorithm with poor performance only because of a wrong use of Contain. Here is the explanation we put in the rule.</p>
<p>// The cost of checking if a list contains an<br />
// object is proportional to the size of the list<br />
// (O(N) operation). For large lists and/or frequent<br />
// calls to Contains(), prefer using the<br />
// System.Collections.Generic.HashSet class<br />
// where calls to Contains() takes a constant<br />
// time (O(0) operation).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

