Tag

timsort

2 views collected around this technical thread.

DeWu Technology
DeWu Technology
Dec 26, 2021 · Backend Development

Behind the Scenes of Arrays.sort: What Does JDK Do?

The article demystifies Java’s Arrays.sort by tracing its call to TimSort.sort, explaining how the hybrid Timsort algorithm blends merge and insertion sorts, determines minimum run lengths, partitions and merges runs, addresses implementation bugs such as stack allocation and comparator misuse, and celebrates its elegant, efficient design.

Arrays.sortBackend DevelopmentJDK
0 likes · 15 min read
Behind the Scenes of Arrays.sort: What Does JDK Do?
UC Tech Team
UC Tech Team
Oct 16, 2018 · Frontend Development

Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes

V8 7.0, released on October 15, introduces memory‑saving Embedded built‑ins across platforms, preview support for WebAssembly threads via chrome://flags, new JavaScript features such as Symbol.prototype.description and a stable Array.prototype.sort using TimSort, plus API changes accessible through git logs and checkout commands.

ChromeEmbedded BuiltinsJavaScript
0 likes · 5 min read
Highlights of V8 7.0 Release: Embedded Built‑ins, WebAssembly Threads, New JavaScript Features, and API Changes