Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026701

Array.prototype.splice is slow on dense arrays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None

    Description

      Array.prototype.slice currently only has a generic implementation (based on get(), set(), delete() operations).

      From the data gathered in JDK-8025964 we know that Array.prototype.splice is used quite a lot. We should provide an optimized implementation for dense arrays.

      Attachments

        Activity

          People

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: