» tagged pages
» logout
technology
Return to dzone.com: tech links

Javascript String Performance: an Analysis

Tags Applied to this Entry

1 person has tagged this page:
Recently I was writing a “tips and tricks” blog post that was going to focus on the idea that it is better to use an object as a “string buffer”; the idea was that by passing this object around to various functions and pushing string fragments into it, you can get better performance from a JavaScript engine. My friend and colleague Alex Russell challenged me to show him hard data supporting this hypothesis—and the results were quite eye-opening!
Username:
Password:
(or Cancel)