<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6894552.post519803760122436280..comments</id><updated>2011-12-02T16:40:41.821-08:00</updated><category term='Reviews'/><category term='Immutability'/><category term='Far sighted'/><category term='OAuth'/><category term='WCF'/><category term='Ruby'/><category term='Javascript'/><category term='Linux'/><category term='Async'/><category term='NHibernate'/><category term='Smart devices'/><category term='Hardware'/><category term='Mono'/><category term='Windows'/><category term='MSBuild'/><category term='WPF'/><category term='DotNetOpenAuth'/><category term='InfoCard'/><category term='Silverlight'/><category term='.NET'/><category term='OpenID'/><category term='ASP.NET'/><category term='Windows.Forms'/><title type='text'>Comments on JMPInline: Caching results of .NET IEnumerable&lt;T&gt; generator m...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.nerdbank.net/feeds/519803760122436280/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6894552/519803760122436280/comments/default'/><link rel='alternate' type='text/html' href='http://blog.nerdbank.net/2009/05/caching-results-of-net-ienumerable.html'/><author><name>Andrew Arnott</name><uri>https://profiles.google.com/114635397638720587251</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-dETLr6cO5U0/AAAAAAAAAAI/AAAAAAAAAAA/A9rnrw9kYqs/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6894552.post-5408807024237357149</id><published>2011-12-02T15:19:18.639-08:00</published><updated>2011-12-02T15:19:18.639-08:00</updated><title type='text'>This is a wonderful gem of a technique.  You might...</title><summary type='text'>This is a wonderful gem of a technique.  You might want to consider submitting it to extensionmethod.net?  I did find a threading issue in the MoveNext function.  The lock should really include the increment and check on cachePosition.  As a test, try putting a sleep statement inside the lock before the parent enumerator MoveNext call, and fire off a few threads that enumerate and display the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6894552/519803760122436280/comments/default/5408807024237357149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6894552/519803760122436280/comments/default/5408807024237357149'/><link rel='alternate' type='text/html' href='http://blog.nerdbank.net/2009/05/caching-results-of-net-ienumerable.html?showComment=1322867958639#c5408807024237357149' title=''/><author><name>Marty N.</name><uri>http://www.blogger.com/profile/09944627676228188097</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.nerdbank.net/2009/05/caching-results-of-net-ienumerable.html' ref='tag:blogger.com,1999:blog-6894552.post-519803760122436280' source='http://www.blogger.com/feeds/6894552/posts/default/519803760122436280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1714479601'/></entry></feed>
