*** Postwhore Contest - Every 500th Post Wins ***

Status
Not open for further replies.


2. String Concatenation vs. Array.join

This cannot be stressed enough, doing many string concatenation operations can be a major hit on performance, and it's easy to avoid in many situations, consider for example that you want to build a string out of many pieces, one bad way to do this is using the + to concatenate all pieces into a huge string, one piece at a time:
 
Status
Not open for further replies.