Click here to Skip to main content
15,880,608 members
Home / Discussions / C#
   

C#

 
General[Message Deleted] Pin
hkjghkj112-Jun-09 21:04
hkjghkj112-Jun-09 21:04 
GeneralRe: WindowsMediaPlayer Pin
Christian Graus12-Jun-09 22:21
protectorChristian Graus12-Jun-09 22:21 
QuestionPrinter Settings Pin
Kim061812-Jun-09 19:58
Kim061812-Jun-09 19:58 
AnswerRe: Printer Settings Pin
DavidKiryazi12-Jun-09 20:02
DavidKiryazi12-Jun-09 20:02 
AnswerRe: Printer Settings Pin
Dr.Walt Fair, PE12-Jun-09 20:12
professionalDr.Walt Fair, PE12-Jun-09 20:12 
QuestionDownload Speed Pin
gonzalodiaz12-Jun-09 18:51
gonzalodiaz12-Jun-09 18:51 
AnswerRe: Download Speed Pin
Luc Pattyn12-Jun-09 19:23
sitebuilderLuc Pattyn12-Jun-09 19:23 
GeneralRe: Download Speed Pin
Guffa12-Jun-09 20:08
Guffa12-Jun-09 20:08 
Also:

If you call ToString on the StringBuilder in every iteration in the loop, that will force it to allocate a new buffer and copy the data to it when you continue to add data to it. You lose any benefits of using the StringBuilder, the performance gets as bad as using += on a string. So you will have shuffled around several gigabytes of data before you are done reading the 200 kilobytes.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionDatabase query Pin
rht8612-Jun-09 18:47
rht8612-Jun-09 18:47 
AnswerRe: Database query Pin
Luc Pattyn12-Jun-09 19:09
sitebuilderLuc Pattyn12-Jun-09 19:09 
QuestionMagical persistence Pin
Peter Trevor12-Jun-09 18:12
Peter Trevor12-Jun-09 18:12 
AnswerRe: Magical persistence Pin
Luc Pattyn12-Jun-09 18:21
sitebuilderLuc Pattyn12-Jun-09 18:21 
GeneralRe: Magical persistence Pin
Peter Trevor13-Jun-09 13:25
Peter Trevor13-Jun-09 13:25 
AnswerRe: Magical persistence Pin
Henry Minute13-Jun-09 2:35
Henry Minute13-Jun-09 2:35 
GeneralRe: Magical persistence Pin
Peter Trevor13-Jun-09 13:23
Peter Trevor13-Jun-09 13:23 
GeneralRe: Magical persistence Pin
Peter Trevor23-Jun-09 12:59
Peter Trevor23-Jun-09 12:59 
AnswerRe: Magical persistence Pin
Peter Trevor9-Oct-09 7:00
Peter Trevor9-Oct-09 7:00 
QuestionPrint Barcode Pin
samulong12-Jun-09 18:03
samulong12-Jun-09 18:03 
AnswerRe: Print Barcode Pin
DavidKiryazi12-Jun-09 19:57
DavidKiryazi12-Jun-09 19:57 
GeneralRe: Print Barcode Pin
OriginalGriff12-Jun-09 23:20
mveOriginalGriff12-Jun-09 23:20 
JokeRe: Print Barcode Pin
DavidKiryazi12-Jun-09 23:40
DavidKiryazi12-Jun-09 23:40 
GeneralRe: Print Barcode Pin
OriginalGriff13-Jun-09 0:00
mveOriginalGriff13-Jun-09 0:00 
AnswerRe: Print Barcode Pin
Christian Graus12-Jun-09 20:34
protectorChristian Graus12-Jun-09 20:34 
QuestionZooming picturebox not updating Pin
jisan2212-Jun-09 14:13
jisan2212-Jun-09 14:13 
AnswerRe: Zooming picturebox not updating Pin
DavidKiryazi12-Jun-09 14:56
DavidKiryazi12-Jun-09 14:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.