Google's new sorting algorithm is 10x faster

Cover art for Google's new sorting algorithm is 10x faster

TL;DR: Using SIMD vector instructions, Google created a sorting algorithm that works across different processors while being dramatically faster than existing solutions. A portable vectorized Quicksort outperforms standard libraries across all modern CPU architectures. Google released open source code that sorts arrays about ten times faster than C++ std::sort while working across all modern CPU architectures.

From · · 1m 30s

TL;DR: Google's new sorting algorithm is 10x faster

A portable vectorized Quicksort outperforms standard libraries across all modern CPU architectures.

Using SIMD vector instructions, Google created a sorting algorithm that works across different processors while being dramatically faster than existing solutions. A portable vectorized Quicksort outperforms standard libraries across all modern CPU architectures. Google released open source code that sorts arrays about ten times faster than C++ std::sort while working across all modern CPU architectures.

  • Ten times faster sorting
  • Why columnar databases matter
  • SIMD instructions unlock speed
  • Partitioning is the bottleneck

Read the story version — the same reporting as a swipeable deck of 7 cards.

Read the original on Googleblog

How we make summaries

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on google and related topics.