CodeProject: Fast & Then Even Faster String Concatenation With JScript
Concatenating string is critical in many dynamic content situations, here is how to make it scale and then be fast and scale.
Let's build a scalable string concatenator, then optimize its performance:
As we all use JavaScript to build dynamic content more and more, concatenating lots of little Strings to together becomes increasingly common. This can lead to nasty scaling problems; here I show how to overcome them using simple linked lists.
No comments:
Post a Comment