sorting

Tag

Cards List
#sorting

Transformers Learn Two Competing Sorting Algorithms, and Only One Length-Generalizes

arXiv cs.LG ↗ · 2026-10-21 Cached

UC Berkeley, Apple, EPFL, Harvard, MIT, and Google DeepMind researchers show that two-layer transformers trained on sorting converge to one of two mechanistically distinct solution classes depending on initialization, where only the two-attention-layer solution length-generalizes perfectly.

0 favorites 0 likes
#sorting

Vectorized and performance-portable Quicksort (2022)

Hacker News Top ↗ · 2026-09-16 Cached

Google shares open-source vectorized Quicksort code that achieves 10x speedup over C++ std::sort by leveraging SIMD instructions, offering performance-portable sorting across modern CPU architectures.

0 favorites 0 likes
#sorting

Parallel O(sqrt n) Overhead LSD Radix Sort

Lobsters Hottest ↗ · 2026-08-30 Cached

This paper presents Radsort, a parallel LSD radix sort algorithm with O(sqrt(n)) overhead that is stable, easy to implement, and outperforms conventional methods for large arrays.

0 favorites 0 likes
#sorting

@Teknium: A much requested update!

X AI KOLs Timeline ↗ · 2026-08-27 Cached

Nous Portal has been updated with a reworked model catalog page, consolidating active free models, promotions, and a sortable list of all available models in one place.

0 favorites 0 likes
#sorting

Sorting, hashing, and sketches on 370,103 words

Hacker News Top ↗ · 2026-08-07 Cached

A technical blog post that explores sorting, hashing, and sketching algorithms on a dataset of 370,103 English words, measuring time and memory costs, with a focus on practical implementations like binary search, quicksort, and HyperLogLog.

0 favorites 0 likes
#sorting

@0x0SojalSec: Learn algorithms visually! interactive visualizations that actually make concepts click, Prim's, Dijkstra, sorting it's…

X AI KOLs Timeline ↗ · 2026-07-12 Cached

Introduces a tool that provides live visualizations and code for learning algorithms like Prim's, Dijkstra, and sorting, making concepts easier to understand.

0 favorites 0 likes
#sorting

Your code is fast – if you're lucky

Hacker News Top ↗ · 2026-07-11 Cached

This article presents a branchless Quicksort implementation using sorting networks and discusses how modern compilers, especially Clang, optimize loops with branch-free instructions when written in the right style.

0 favorites 0 likes
#sorting

Equivalence of Unicode strings is strange (2016)

Lobsters Hottest ↗ · 2026-05-29 Cached

Unicode string equivalence is complex, especially with collations, leading to surprising results like deletion of control characters and non-deterministic grouping. The author discusses challenges in implementing proper Unicode support in database systems.

0 favorites 0 likes
#sorting

That one time I used Go panics for flow control

Lobsters Hottest ↗ · 2026-05-23 Cached

A Go engineer recounts an incident where an in-memory datastore became overloaded due to slow sorting, and they implemented context cancellation inside sort functions by using panics and recover for non-local flow control, similar to how encoding/json handles errors.

0 favorites 0 likes
#sorting

The classic TreeView control lets me sort by name or by lParam, but why not both?

The Old New Thing (Raymond Chen) ↗ · 2026-05-20 Cached

Explains why the classic Win32 TreeView control offers separate sort methods for name and lParam, and recommends switching to a data model pattern when both are needed for sorting.

0 favorites 0 likes
← Back to home

Submit Feedback