You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/05/13 14:33:16 UTC
[jira] [Created] (WICKET-5186) Use arrays instead of String
concatenation in JavaScript for better performance
Martin Grigorov created WICKET-5186:
---------------------------------------
Summary: Use arrays instead of String concatenation in JavaScript for better performance
Key: WICKET-5186
URL: https://issues.apache.org/jira/browse/WICKET-5186
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 6.7.0
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Priority: Minor
Some browsers are slow when concatenating strings.
A recommended way is to use arrays instead:
var result = [];
result.push("something");
var string = result.join("");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira