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

Function binding is inefficient

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-libs
    • None
    • b82
    • generic
    • generic

    Description

      We currently default to the slow ScriptFunction.apply() path for bound functions (created using Function.bind()). It is possible to create new ScriptFunction objects that have efficiently bound method handles and let them be invoked as any other function would.

      Attachments

        Activity

          People

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: