From: <rv...@us...> - 2012-08-09 18:54:13
|
Revision: 2368 http://dotnetrdf.svn.sourceforge.net/dotnetrdf/?rev=2368&view=rev Author: rvesse Date: 2012-08-09 18:54:07 +0000 (Thu, 09 Aug 2012) Log Message: ----------- Tests and fixes for a hashing/indexing collision that could still occur even with the use of MultiDictionary which is mostly immune to it - basically the bug occurs when two keys are considered non-equal from the user perspective but the default comparer for the key type considers them equal e.g. "1"^^xsd:integer and "01"^^xsd:integer This upgrades the various comparer classes we had and makes them public, updates the code that uses MultiDictionary which may be affected to explicitly specify comparers that will not be susceptible to this. One plus of this commit is that it should also improve performance since the default comparers we were using would do value comparisons which could get very expensive Modified Paths: -------------- Trunk/Libraries/core/Core/AdvancedTripleCollections.cs Trunk/Libraries/core/Core/SubTreeIndexedTripleCollection.cs Trunk/Libraries/core/Core/TreeIndexedTripleCollection.cs Trunk/Libraries/core/Core/TripleCollection.cs Trunk/Libraries/core/Core/TripleComparers.cs Trunk/Libraries/core/Query/Algebra/BaseMultiset.cs Trunk/Libraries/core/Query/Construct/ConstructContext.cs Trunk/Testing/unittest/Core/CompareToTests.cs Trunk/Testing/unittest/Core/IndexingTests.cs Trunk/Testing/unittest/dotNetRDFUnitTests.csproj Trunk/dotNetRDF.suo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |