Wicket
  1. Wicket
  2. WICKET-5186

Use arrays instead of String concatenation in JavaScript for better performance

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.7.0
    • Fix Version/s: 6.8.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      Some browsers are slow when concatenating strings.
      A recommended way is to use arrays instead:

      var result = [];
      result.push("something");
      var string = result.join("");

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development