Immediately "optimize as prototype" when setting as prototype of a function.
This saves space since OptimizeAsPrototype detaches from the transition tree, reclaiming intermediate maps. On gmail this corresponds to roughly 20% of all maps. BUG= Review URL: https://codereview.chromium.org/941213005 Cr-Commit-Position: refs/heads/master@{#26772}
Showing
Please
register
or
sign in
to comment