[mono/monodevelop] d95889b6: Document the usage of List instead of HashSet.

"Therzok ([email protected])" <[email protected]> Fri, 15 Nov 2013 02:07:03 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001425982f184-8ca6faab-3222-4265-90e0-b393c1f7aadb-000000@email.amazonses.com>
   Branch: refs/heads/bug16224
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/9b78c8c4822d...d95889b68ae5

   Commit: d95889b68ae5f185c56cc7bc78c3e5a092098847
   Author: Therzok <[email protected]> (Therzok)
     Date: 2013-11-15 02:04:33 GMT
      URL: https://github.com/mono/monodevelop/commit/d95889b68ae5f185c56cc7bc78c3e5a092098847

Document the usage of List instead of HashSet.

Changed paths:
  M main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeSet.cs

Modified: main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/ChangeSet.cs
===================================================================
@@ -9,6 +9,8 @@ namespace MonoDevelop.VersionControl
 	public class ChangeSet
 	{
 		string globalComment = string.Empty;
+		// Commits should be atomic and small. Therefore having a List instead
+		// of a HashSet should be faster in most cases.
 		List<ChangeSetItem> items = new List<ChangeSetItem> ();
 		Repository repo;
 		FilePath basePath;


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches