Function binding is inefficient

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: