• Simon Zünd's avatar
    Reland "[array] Move Array.p.sort to Torque and use TimSort instead of QuickSort" · 9e48a24f
    Simon Zünd authored
    The CL was reverted because it broke some tests in ChromeOS.
    
    > [array] Move Array.p.sort to Torque and use TimSort instead of QuickSort
    >
    > This CL changes the sorting algorithm used in Array.p.sort from
    > QuickSort to TimSort (implemented in Torque).
    >
    > Detailed performance results can be found here: https://goo.gl/4E733J
    >
    > To save on code space, fast-paths are implemented as sets of
    > function pointers instead of specializing generics.
    >
    > R=cbruni@chromium.org, jgruber@chromium.org
    >
    > Bug: v8:7382, v8:7624
    > Change-Id: I7cd4287e4562d84ab7c79c58ae30780630f976de
    > Reviewed-on: https://chromium-review.googlesource.com/1151199
    > Commit-Queue: Simon Zünd <szuend@google.com>
    > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#55003}
    
    Bug: v8:7382, v8:7624
    Change-Id: Ic7a3230f3708177774b0760f08b7659d83ec5505
    Reviewed-on: https://chromium-review.googlesource.com/1184901
    Commit-Queue: Simon Zünd <szuend@google.com>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55325}
    9e48a24f
bootstrapper.cc 258 KB