Reduce String::indexOf overheads

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: core-libs
    • None
    • b09

      Interpreter overheads of String::indexOf in particular seem excessive, with many redundant checks, partially pointless clamping of from-/toIndex (using Math::max) and other things.

      Simplifying, streamlining and specializing the implementations rather than delegating significantly improves performance.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: