Forgot
authorMiguel de Icaza <miguel@gnome.org>
Thu, 27 Dec 2007 20:56:05 +0000 (20:56 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 27 Dec 2007 20:56:05 +0000 (20:56 -0000)
svn path=/trunk/mcs/; revision=91963

mcs/mcs/ChangeLog

index 173119c72f38a39ab0e7b5b369215d0f958fff88..1652536f24b5a25a0a211398ac647fa84d0ecaf4 100644 (file)
        * 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  <marek.safar@gmail.com>
 
        A fix for bug #347189 (2nd issue)