• Adam Barth's avatar
    Capture closures around megamorphic dispatches · 622bec43
    Adam Barth authored
    The performLayout and build callsite are highly megamorphic because they
    dispatch into a large number of clients. However, for a given caller, the
    callee is always of the same type, which means the megamorphic lookup exactly
    factors by the caller. We can speed up the dispatch by capturing a closure at
    initialization and then monomorphically dispatching through the closure.
    622bec43
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
doc Loading commit data...
examples Loading commit data...
infra Loading commit data...
packages Loading commit data...
travis Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...