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

Function binding is inefficient

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: