Bugzilla – Bug 320697
[PATCH] Avoid setting array elements to null in array literals
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by vargaz@gmail.com 2006-03-29 10:37:55 MST ---- The following patch avoids setting elements of array literals to null, as in the following example: string[] arr = new string [] { null, "A", null } csc does a similar optimizations. This patch reduces the size of mcs.exe and mscorlib.dll by about 1KB respectively. ---- Additional Comments From vargaz@gmail.com 2006-03-29 10:38:20 MST ---- Created an attachment (id=169503) patch ---- Additional Comments From marek.safar@seznam.cz 2006-03-29 11:30:04 MST ---- I will review the patch as I am working on similar topic. ---- Additional Comments From marek.safar@seznam.cz 2006-04-04 17:31:33 MST ---- Fixed in SVN. Thanks for the idea. ---- Additional Comments From mkestner@ximian.com 2007-02-21 12:47:32 MST ---- *** https://bugzilla.novell.com/show_bug.cgi?id=MONO80919 has been marked as a duplicate of this bug. *** Imported an attachment (id=169503) Unknown operating system unknown. Setting to default OS "Other".