~/talk

More Ranges Please

Talkat Core C++ 2023 · 2023-06-05..06-07· [c-and-cpp, software-architecture]
links:none on file
slides:none on file

Proposes concrete range additions: a merge view and views for set_union/set_intersection that accept many sorted inputs and perform lazy multiway merge, cutting work from O(S·P log(S·P)) to about O(S log P); use nth_element to avoid full sorts for “top K”, yielding average linear time. Suggests a sorted_range concept (and assume_sorted/is_sorted helpers), a histogram view built from chunk_by_equal+transform, and an order permutation view that emits a sorting permutation to avoid expensive swaps by applying a lazy permutation. Inspirations: ranges V3 and D library; pending PRs.

AI-written summary · about

  1. 0:00Introduction to libraries
  2. 4:46Why write libraries
  3. 14:43Ranges as a breakthrough
  4. 24:58Building range-based code
  5. 31:26Views for sorted ranges
  6. 43:00Breaking sort apart
  7. 49:27Summary and encouragement
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.