~/talk

Alternate Priorities

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp]
links:none on file
slides:none on file

Reduces an implementation that computes the maximum horizontal or vertical distance between points from 214 bytes to 87 bytes. Changes the algorithm to a brute‑force O(n^2) pairwise scan, removes const/ref and abs, uses one-character names, counts backwards, and collapses loop bodies with the comma operator to drop braces and semicolons. The result compiles and still produces the correct distance while prioritizing minimal source size.

AI-written summary · about

  1. 0:00Introduction to code golf
  2. 1:11The initial problem
  3. 2:25Basic code golfing techniques
  4. 3:27Algorithmic optimization
  5. 4:27Advanced reduction techniques
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.