~/talk

Euclid's Algorithm & STL

Talkat C++Now 2017 · 2017-05-15..05-20· [c-and-cpp]
slides:none on file

Demonstrates that replacing the subtraction step in Euclid's GCD with a swap instead of subtract and advancing an iterator yields the core loop of std::rotate implemented over a container the talk constructs a recursive rotate and proves it terminates because the step size is governed by the GCD claims that this simple change maps the ancient GCD algorithm to a common STL routine and shows the implementation actually works on iterators recursive rotate whose termination uses GCD

AI-written summary · about

~/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.