Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
AnswerMore than 5000... Pin
Sean Michael Murphy2-Jul-07 9:25
Sean Michael Murphy2-Jul-07 9:25 
GeneralRe: More than 5000... Pin
DavidNohejl2-Jul-07 9:36
DavidNohejl2-Jul-07 9:36 
GeneralRe: More than 5000... Pin
Martin#2-Jul-07 10:03
Martin#2-Jul-07 10:03 
GeneralRe: More than 5000... Pin
PIEBALDconsult2-Jul-07 11:56
mvePIEBALDconsult2-Jul-07 11:56 
GeneralRe: More than 5000... Pin
Sean Michael Murphy2-Jul-07 15:28
Sean Michael Murphy2-Jul-07 15:28 
GeneralRe: More than 5000... Pin
DavidNohejl2-Jul-07 21:54
DavidNohejl2-Jul-07 21:54 
GeneralRe: More than 5000... Pin
PIEBALDconsult3-Jul-07 7:14
mvePIEBALDconsult3-Jul-07 7:14 
GeneralRe: More than 5000... Pin
DavidNohejl3-Jul-07 7:41
DavidNohejl3-Jul-07 7:41 
I'll repeat: *Always* use string builder for concatenating strings in big loops. And I stay behind my claim.

That being said, if that loop had about 5 iterations in 99,99% and much more in 0,01%, then you have to thinkg about it - IIRC StringBuilder would be slower. But if that task is something that must end in some very limited time or under very limited memory, you can't afford that 0,01% and even if performing worse in average, StringBuilder would be better choice.




"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

GeneralRe: More than 100000... Pin
vytheese2-Jul-07 23:16
professionalvytheese2-Jul-07 23:16 
GeneralRe: More than 100000... Pin
Sean Michael Murphy3-Jul-07 5:01
Sean Michael Murphy3-Jul-07 5:01 
GeneralRe: More than 5000... Pin
PIEBALDconsult3-Jul-07 7:37
mvePIEBALDconsult3-Jul-07 7:37 
GeneralMore than 1000000 [modified] Pin
PIEBALDconsult3-Jul-07 11:50
mvePIEBALDconsult3-Jul-07 11:50 
GeneralRe: More than 5000... Pin
Sean Michael Murphy4-Jul-07 18:36
Sean Michael Murphy4-Jul-07 18:36 
QuestionError in calling a webservice Pin
ramdil2-Jul-07 3:15
ramdil2-Jul-07 3:15 
AnswerRe: Error in calling a webservice Pin
leppie2-Jul-07 3:58
leppie2-Jul-07 3:58 
AnswerRe: Error in calling a webservice Pin
Vasudevan Deepak Kumar2-Jul-07 4:53
Vasudevan Deepak Kumar2-Jul-07 4:53 
QuestionCan't focus TextBox on TabPage Pin
Tavbi2-Jul-07 3:01
Tavbi2-Jul-07 3:01 
AnswerRe: Can't focus TextBox on TabPage Pin
Luc Pattyn2-Jul-07 3:20
sitebuilderLuc Pattyn2-Jul-07 3:20 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 19:57
Tavbi2-Jul-07 19:57 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 20:27
Tavbi2-Jul-07 20:27 
AnswerRe: Can't focus TextBox on TabPage Pin
originSH2-Jul-07 3:50
originSH2-Jul-07 3:50 
GeneralRe: Can't focus TextBox on TabPage Pin
Tavbi2-Jul-07 19:33
Tavbi2-Jul-07 19:33 
QuestionRichTextField control issue Pin
Blubbo2-Jul-07 2:56
Blubbo2-Jul-07 2:56 
AnswerRe: RichTextField control issue Pin
Luc Pattyn2-Jul-07 3:11
sitebuilderLuc Pattyn2-Jul-07 3:11 
GeneralRe: RichTextField control issue Pin
Blubbo2-Jul-07 3:13
Blubbo2-Jul-07 3:13 

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.