Author: raja
Date: 2005-03-09 09:23:25 -0500 (Wed, 09 Mar 2005)
New Revision: 41600

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/class.cs
Log:
* class.cs (TypeContainer.AddToMemberContainer): Use "." rather than '.'.

Oh no, I'm channelling BenM ;-)  This cheesy little patch allocated 400KB less
on a corlib build !!!

  w/o patch: 119389 KB
  w/  patch: 118964 KB

in the before, we had:
     163 KB Mono.CSharp.TypeContainer::AddToMemberContainer(MemberCore)
              163 KB    16713 System.Char
     261 KB System.Char::ToString()
              261 KB    16716 System.String


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2005-03-09 14:05:25 UTC (rev 41599)
+++ trunk/mcs/mcs/ChangeLog     2005-03-09 14:23:25 UTC (rev 41600)
@@ -1,5 +1,10 @@
 2005-03-09  Raja R Harinath  <[EMAIL PROTECTED]>
 
+       * class.cs (TypeContainer.AddToMemberContainer): Use "." rather
+       than '.'.
+
+2005-03-09  Raja R Harinath  <[EMAIL PROTECTED]>
+
        * decl.cs (DeclSpace.LookupType): Don't loop but recurse into
        enclosing DeclSpace.  This ensures that a name-lookup populates
        more caches and there are fewer 'TypeExpression's.  Carve out

Modified: trunk/mcs/mcs/class.cs
===================================================================
--- trunk/mcs/mcs/class.cs      2005-03-09 14:05:25 UTC (rev 41599)
+++ trunk/mcs/mcs/class.cs      2005-03-09 14:23:25 UTC (rev 41600)
@@ -477,7 +477,7 @@
 
                public bool AddToMemberContainer (MemberCore symbol)
                {
-                       return AddToContainer (symbol, String.Concat (Name, 
'.', symbol.Name), symbol.Name);
+                       return AddToContainer (symbol, String.Concat (Name, 
".", symbol.Name), symbol.Name);
                }
 
                bool AddToTypeContainer (DeclSpace ds)

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

Reply via email to