<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>i4o Work Item Rss Feed</title><link>http://www.codeplex.com/i4o/WorkItem/List.aspx</link><description>i4o Work Item Rss Description</description><item><title>Commented Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925]</title><link>http://i4o.codeplex.com/workitem/19925</link><description>In v2 branch in WhereThroughIndex results from different indexes are combined using Union and Intersect. However Union and Intersect, while operating on IEnumerable interface, are set operations. They return sets, and because of that they remove duplicates. So, there&amp;#39;s a bug&amp;#58; if original sequence contains duplicates, result returned from WhereThroughIndex with complex query is not.&lt;br /&gt;Comments: ** Comment from web user: Gregory1981 ** &lt;p&gt;The issue is that WhereThroughIndex sometimes returns duplicates and sometimes not, which is inconsistent and confusing.&lt;br /&gt;Here it is&amp;#58;&lt;/p&gt;&lt;p&gt;        &amp;#91;Test&amp;#93;&lt;br /&gt;        public void SuperComplexQueryWithDuplicates&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;/p&gt;&lt;p&gt;            var single &amp;#61; new SimpleClass &amp;#123; Name &amp;#61; &amp;#34;Jason Jarett&amp;#34;, Age &amp;#61; 25, FavoriteColor &amp;#61; Color.Aqua &amp;#125;&amp;#59;&lt;br /&gt;            SimpleClass&amp;#91;&amp;#93; someItems &amp;#61; &amp;#123;&lt;br /&gt;                                        single,&lt;br /&gt;                                        single,&lt;br /&gt;                                        single,&lt;br /&gt;                                        single                                          &lt;br /&gt;                                      &amp;#125;&amp;#59;&lt;br /&gt;            var indexSpec &amp;#61; IndexSpecification&amp;#60;SimpleClass&amp;#62;.Build&amp;#40;&amp;#41;&lt;br /&gt;                .With&amp;#40;person &amp;#61;&amp;#62; person.FavoriteColor&amp;#41;&lt;br /&gt;                .And&amp;#40;person &amp;#61;&amp;#62; person.Age&amp;#41;&lt;br /&gt;                .And&amp;#40;person &amp;#61;&amp;#62; person.Name&amp;#41;&amp;#59;&lt;br /&gt;            var theIndexSet &amp;#61; new IndexSet&amp;#60;SimpleClass&amp;#62;&amp;#40;someItems, indexSpec&amp;#41;&amp;#59;&lt;br /&gt;            var result &amp;#61;&lt;br /&gt;                from item in theIndexSet&lt;br /&gt;                where item.Name &amp;#61;&amp;#61; &amp;#34;Jason Jarett&amp;#34; &amp;#38;&amp;#38; item.Age &amp;#61;&amp;#61; 25 &amp;#38;&amp;#38; item.FavoriteColor &amp;#61;&amp;#61; Color.Aqua&lt;br /&gt;                select item&amp;#59;&lt;br /&gt;            Assert.AreEqual&amp;#40;4, result.Count&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;/p&gt;</description><author>Gregory1981</author><pubDate>Tue, 15 Feb 2011 16:47:21 GMT</pubDate><guid isPermaLink="false">Commented Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925] 20110215044721P</guid></item><item><title>Commented Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925]</title><link>http://i4o.codeplex.com/workitem/19925</link><description>In v2 branch in WhereThroughIndex results from different indexes are combined using Union and Intersect. However Union and Intersect, while operating on IEnumerable interface, are set operations. They return sets, and because of that they remove duplicates. So, there&amp;#39;s a bug&amp;#58; if original sequence contains duplicates, result returned from WhereThroughIndex with complex query is not.&lt;br /&gt;Comments: ** Comment from web user: staxmanade ** &lt;p&gt;I&amp;#39;m struggling to see what your issues is. Any you can produce a test&amp;#63;&lt;/p&gt;</description><author>staxmanade</author><pubDate>Tue, 15 Feb 2011 05:24:12 GMT</pubDate><guid isPermaLink="false">Commented Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925] 20110215052412A</guid></item><item><title>Created Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925]</title><link>http://i4o.codeplex.com/workitem/19925</link><description>In v2 branch WhereThroughIndex results from different indexes are combined with Union and Intersect. However Union and Intersect, while operating on IEnumerable interface, are set operations. They return sets, and because of that they remove duplicates. So, there&amp;#39;s a bug&amp;#58; if original sequence contains duplicates, result returned from WhereThroughIndex with complex query is not.&lt;br /&gt;</description><author>Gregory1981</author><pubDate>Sun, 06 Feb 2011 14:46:46 GMT</pubDate><guid isPermaLink="false">Created Issue: Using Union and Intersect in WhereThroughIndex in i4o v2 [19925] 20110206024646P</guid></item><item><title>Created Issue: IndexableCollection&lt;T&gt;.Clear performance [16698]</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=16698</link><description>As described in this discussion&amp;#58; http&amp;#58;&amp;#47;&amp;#47;i4o.codeplex.com&amp;#47;Thread&amp;#47;View.aspx&amp;#63;ThreadId&amp;#61;204383,&lt;br /&gt;when deleting items from a list one by one, it should be done at the end of the list, otherwise unnecessary copying occurs.&lt;br /&gt;</description><author>vaso</author><pubDate>Wed, 10 Mar 2010 02:32:44 GMT</pubDate><guid isPermaLink="false">Created Issue: IndexableCollection&lt;T&gt;.Clear performance [16698] 20100310023244A</guid></item><item><title>Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;Comments: &lt;P&gt;Lashas&amp;nbsp;&lt;/P&gt;&lt;br /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;br /&gt;&lt;P&gt;Great suggestion. It's funny how I didn't notice that. By using the C# syntactic sugar (where we don't specify "prop += new EventHandler(Handler)" and instead use "prop += Handler") I didn't even think about it haveing to create a new object for each pass...&lt;/P&gt;&lt;br /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;br /&gt;&lt;P&gt;Thanks for the contribution.&lt;/P&gt;</description><author>staxmanade</author><pubDate>Fri, 07 Aug 2009 05:52:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090807055200A</guid></item><item><title>Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;Comments: &lt;P&gt;Test comment from V.S. /tfs since I can't hit the codeplex website.&lt;/P&gt;</description><author>staxmanade</author><pubDate>Fri, 07 Aug 2009 05:45:16 GMT</pubDate><guid isPermaLink="false">Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090807054516A</guid></item><item><title>Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;Comments: ** Comment from web user: Lashas ** &lt;p&gt;Hi,&lt;br /&gt;I have optimizied a littile bit &amp;#40;adding item to list is &amp;#126;30-40&amp;#37; faster&amp;#41; by changing how handlers are attached to item. Instead of &lt;br /&gt;&amp;#40;item as INotifyPropertyChanged&amp;#41;.PropertyChanged &amp;#43;&amp;#61; IndexableCollection_PropertyChanged&amp;#59;&lt;br /&gt; I&amp;#39;ve changed to &lt;br /&gt;&amp;#40;item as INotifyPropertyChanged&amp;#41;.PropertyChanged &amp;#43;&amp;#61; _propertyChangedHandler&amp;#59;&lt;br /&gt;while _propertyChangedHandler is private field in IndexableCollection, and is initialized in constructor by this line &amp;#34;&lt;br /&gt;_propertyChangedHandler &amp;#61; new PropertyChangedEventHandler&amp;#40;IndexableCollection_PropertyChanged&amp;#41;&amp;#59;&amp;#34;&lt;/p&gt;&lt;p&gt;Finally this left me with same performance as object would be without INotifyPropertyChanged interface.&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description><author>Lashas</author><pubDate>Thu, 06 Aug 2009 23:12:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090806111240P</guid></item><item><title>Reopened Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;</description><author>staxmanade</author><pubDate>Sat, 25 Apr 2009 21:52:21 GMT</pubDate><guid isPermaLink="false">Reopened Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090425095221P</guid></item><item><title>Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;Comments: ** Comment from web user: staxmanade ** &lt;p&gt;Thanks for the patch...&lt;/p&gt;&lt;p&gt;I&amp;#39;ve created a branch, checked in your changes &amp;#40;to the branch&amp;#41;, and added one test and fix for the case when a raised property changed event throws a bad property name.&lt;/p&gt;&lt;p&gt;I would like to spend some more time thinking about this change and other side affects it may cause. &amp;#40;performance, etc&amp;#41; before it is merged in, however this is one of the big ticket items Aaron and I both feel the library should support.&lt;/p&gt;&lt;p&gt;Thanks again,&lt;br /&gt;Jason &amp;#40;Staxmanade&amp;#41;&lt;/p&gt;</description><author>staxmanade</author><pubDate>Sat, 25 Apr 2009 21:38:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090425093804P</guid></item><item><title>Closed Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;</description><author>staxmanade</author><pubDate>Sat, 25 Apr 2009 21:35:06 GMT</pubDate><guid isPermaLink="false">Closed Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090425093506P</guid></item><item><title>Created Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged</title><link>http://i4o.codeplex.com/WorkItem/View.aspx?WorkItemId=13114</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I greatly like this library, but to be able to use it in one of my projects, I need support for propertychanges to items in the IndexableCollection. Ideal would be to automatically update indexed properties of classes that implement INotifyPropertyChanged and INotifyPropertyChanging.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll try to submit a patch which implements just that.&lt;br /&gt;</description><author>lukdereu</author><pubDate>Sat, 25 Apr 2009 17:01:45 GMT</pubDate><guid isPermaLink="false">Created Issue: Reflect property changes in index for classes that support INotifyChanging and INotifyChanged 20090425050145P</guid></item><item><title>CLOSED FEATURE: Thread Safety</title><link>http://www.codeplex.com/i4o/WorkItem/View.aspx?WorkItemId=9061</link><description>The io4 library uses generic dictionaries which are not thread safe.&lt;br /&gt;Comments: Will not fix.  Most .NET collections are not thread safe, this one included.</description><author>ericksoa</author><pubDate>Sun, 08 Jun 2008 21:54:49 GMT</pubDate><guid isPermaLink="false">CLOSED FEATURE: Thread Safety 20080608095449P</guid></item><item><title>CLOSED ISSUE: Indexing on Strings in VB</title><link>http://www.codeplex.com/i4o/WorkItem/View.aspx?WorkItemId=10304</link><description>A strange thing happened during my demo prep for TechEd 2008.  After Julie Lerman gave me a ration for not having enough VB, I decided to make one of my demos based on VB.  I discovered, of course, that VB has a different convention when a string comparison ends up in an expression.  Right now, string comparison does not take advantage of indexing in VB.&lt;br /&gt;&lt;br /&gt;That said, I have fixed the issue, and should have it back to codeplex sometime this weekend.&lt;br /&gt;Comments: fixed as of 0.91</description><author>ericksoa</author><pubDate>Sun, 08 Jun 2008 21:54:07 GMT</pubDate><guid isPermaLink="false">CLOSED ISSUE: Indexing on Strings in VB 20080608095407P</guid></item><item><title>CREATED ISSUE: Indexing on Strings in VB</title><link>http://www.codeplex.com/i4o/WorkItem/View.aspx?WorkItemId=10304</link><description>A strange thing happened during my demo prep for TechEd 2008.  After Julie Lerman gave me a ration for not having enough VB, I decided to make one of my demos based on VB.  I discovered, of course, that VB has a different convention when a string comparison ends up in an expression.  Right now, string comparison does not take advantage of indexing in VB.&lt;br /&gt;&lt;br /&gt;That said, I have fixed the issue, and should have it back to codeplex sometime this weekend.&lt;br /&gt;</description><author>ericksoa</author><pubDate>Sat, 07 Jun 2008 04:05:17 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Indexing on Strings in VB 20080607040517A</guid></item><item><title>COMMENTED ISSUE: Thread Safety</title><link>http://www.codeplex.com/i4o/WorkItem/View.aspx?WorkItemId=9061</link><description>The io4 library uses generic dictionaries which are not thread safe.&lt;br /&gt;Comments: ** Comment from web user: ericksoa ** &lt;p&gt;True enough.  Most of the .net framework isn&amp;#39;t in that category either - up to and including generic dictionaries.  Personally, if I want to be threadsafe, I am going to use F&amp;#35; and stick to immutables, but thats just me &amp;#58;&amp;#41;&lt;/p&gt;</description><author>ericksoa</author><pubDate>Fri, 23 May 2008 02:05:51 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Thread Safety 20080523020551A</guid></item><item><title>CREATED ISSUE: Thread Safety</title><link>http://www.codeplex.com/i4o/WorkItem/View.aspx?WorkItemId=9061</link><description>The io4 library uses generic dictionaries which are not thread safe.&lt;br /&gt;</description><author>SMHoff</author><pubDate>Fri, 14 Dec 2007 14:21:11 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Thread Safety 20071214022111P</guid></item></channel></rss>