YoVDO

Sorting in Less Than O(n log n) - Generalizing and Optimizing Radix Sort

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Radix Sort Courses Sorting Algorithms Courses Algorithm Optimization Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore an in-depth analysis of advanced sorting techniques in this comprehensive conference talk from CppNow 2017. Delve into the intricacies of radix sort, learning how to generalize and optimize it to achieve sorting speeds faster than O(n log n) for a wide range of data types. Discover how to apply radix sort to various inputs, including integers, floats, doubles, and even custom data structures. Gain insights into the implementation details, optimization strategies, and performance comparisons with standard sorting algorithms. Follow along as the speaker, an AI programmer from Avalanche Studios, breaks down complex concepts, provides code examples, and demonstrates practical applications in C++ programming. Enhance your understanding of efficient sorting algorithms and their potential impact on performance-critical applications, particularly in the context of video game development.

Syllabus

Introduction
Why do I give this talk
Counting sort
Counting sort code
Counting sort example
Swapping
American Flag Sort
Prefix Sort
Generalizing
Recurse
Un 16 char 16
Positive Floats
Doubles
Containers
Sort by first name
Support your types
My answer
Part 2 Optimization
Part 2 Visualization
Part 2 disassembly
Part 2 intuition
New algorithm
Graphs


Taught by

CppNow

Related Courses

Your Favorite Undefined Behavior in C++
CppNow via YouTube
Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube
Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube
Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube
Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube