Author: miguel
Date: 2007-12-27 15:56:05 -0500 (Thu, 27 Dec 2007)
New Revision: 91963

Modified:
   trunk/mcs/mcs/ChangeLog
Log:
Forgot

Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-12-27 20:54:16 UTC (rev 91962)
+++ trunk/mcs/mcs/ChangeLog     2007-12-27 20:56:05 UTC (rev 91963)
@@ -11,6 +11,13 @@
        * statement.cs. Changed foreach loops to for loops, saved on
        allocation of enumerator (59141kb->59006kb)
 
+       * decl.cs: ArrayLists in .NET 1.1 allocate 16 elements by default
+       when constructed with no specified capacity. This was causing a
+       few ArrayLists to allocate more memory than they would potentially
+       need in the Block class and MemberCache class. Setting the
+       ArrayLists to construct with a capacity of 1 saves some
+       memory. (56216kb->55585kb)
+
 2007-12-27  Marek Safar  <[EMAIL PROTECTED]>
 
        A fix for bug #347189 (2nd issue)

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

Reply via email to