Sign in
Feng Yuan (袁峰)
CLR, Performance, Debugging, Parallel Computing, WPF, XPS, GDI, GDI+, Printing (www.fengyuan.com)
Options
Blog Home
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
C#
C++
CLR
CLRProfiler
GIS
IE9
Pages
Parallel Computing
Performance
Printing
SVG
Visio
Win32
XPS
XPS, Printing
Archive
Archives
September 2012
(1)
August 2012
(4)
July 2012
(1)
June 2011
(1)
May 2011
(1)
April 2011
(2)
March 2011
(5)
June 2009
(2)
January 2008
(2)
May 2007
(3)
April 2007
(2)
March 2007
(6)
February 2007
(1)
August 2006
(3)
May 2006
(3)
April 2006
(2)
March 2006
(3)
February 2006
(1)
January 2006
(5)
October 2005
(1)
September 2005
(12)
June 2004
(1)
August, 2012
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Feng Yuan (袁峰)
Performance Tips: System.Text.StringBuilder and String.Concat
Posted
9 months ago
by
Feng Yuan
2
Comments
Much has been written about the benefits of using StringBuilder over string concatenation. So much so that there seems to be overuse of StringBuilder class, causing performance issues again. If you're using StringBuilder and string concatenation a...
Feng Yuan (袁峰)
Performance Tips: Faster than StringBuilder?
Posted
9 months ago
by
Feng Yuan
7
Comments
The web has tons of articles about how StringBuilder is much faster than string concatenation using '+' operator or String.Concat functions when there are enough strings to ber merged. Here is an MSDN article on this topic: http://support.microsoft.com...
Feng Yuan (袁峰)
Performance Tips: String.Split
Posted
9 months ago
by
Feng Yuan
0
Comments
String.Split methods are provided in .Net as a convenient way of dividing string into parts. Here are two basic forms of String.Split methods: public string [] Split( char [] separator, int count, StringSplitOptions options); public string [] Split...
Feng Yuan (袁峰)
TextWriter.WriteLine(string, object[]) in less memory, less time
Posted
9 months ago
by
Feng Yuan
1
Comments
I found myself increasingly generating reports in .csv format, and then use Excel to analyze the reports. With large amount of data written to the .csv file, file generation time becomes more and more noticable. So I took some time to check what is taking...
Page 1 of 1 (4 items)