DescriptionFix worst-case behavior of MergeRemovableSimulates().
Currently, when a long series of removable simulates are merged, we do
this by merging them one by one as we find them. As we merge the value
value lists of the simulates, those lists snowball so that we get a
quadratic complexity wrt runtime and memory consumption.
Instead, we gather simulates that need to be merged, and merge them
backwards starting from the last simulate.
R=jkummerow@chromium.org
BUG=v8:2612
Committed: https://code.google.com/p/v8/source/detail?r=14169
Patch Set 1 #
Total comments: 1
Patch Set 2 : small changes. #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|