Adam Barth 622bec43be Capture closures around megamorphic dispatches
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.
2016-04-01 08:19:37 -07:00
..
2016-03-25 18:40:18 -07:00
2016-02-11 00:06:23 -08:00
2016-03-29 12:43:19 -07:00