Reputation: 122 Stalwart
- Active Posts:
- 699 (0.55 per day)
- 01-January 10
- Profile Views:
- Last Active:
- Feb 04 2013 01:26 PM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 14 Jan 2013Hey thats handy
Posted 11 Jan 20131. I'm pretty sure that most people using StringBuilder are using it wrong (micro-optimizing it).
What most people should know is that literal constant concatenation is performed at compile time (compiler optimization).
I've seen huge 'string building' code that performs countless calls of Append() to concatenate literal constants.
6. If this list is ordered, I believe this should be the #1.
7. I disagree, this is micro-optimization IMO.
Posted 11 Jan 2013Hello and welcome
Posted 11 Jan 2013Don't forget to consider passing as reference instead, and making it const if it makes sense. This way you make your pointer usage more reliable/secure.
As void foo(const BigData& data); //Can't change the reference, can't be null
Posted 27 Dec 2012Wikipedia is not the software, MediaWiki it is.
And that is a merely configuration of the software, not a modification. Nobody have to distribute those.
- Member Title:
- Age Unknown
- Birthday Unknown