sorting

Tag

Cards List
#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