[Mono-bugs] [Bug 71413][Min] Changed - Path.GetFullPath is heavy on string allocations

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 10 16:23:42 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by trow at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71413

--- shadow/71413	2005-01-23 15:23:52.000000000 -0500
+++ shadow/71413.tmp.14653	2005-10-10 16:23:42.000000000 -0400
@@ -50,6 +50,11 @@
 You can store `/home/benm/' in memory once, and save some ram there.
 
 ------- Additional Comments From joeshaw at novell.com  2005-01-18 15:12 -------
 Well, at this point we've already optimized out the allocations we can
 directly.  The majority of them are now stored in the DirectoryInfo
 class, which we probably can't easily optimize out.
+
+------- Additional Comments From trow at ximian.com  2005-10-10 16:23 -------
+In my latest profiler runs the problem is
+System.IO.Path:CanonicalizePath, which calls Split and allocates a
+bunch of little strings.


More information about the mono-bugs mailing list