~/talk

A little order

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
links:none on file
slides:none on file

Benchmarks on http://quick-bench.com/ using Google Benchmark compare std::sort, std::partial_sort, nth_element and custom approaches; claim: for median-like cases a copy+std::sort can beat std::partial_sort, but for small fixed k partial_sort wins, sometimes 10x faster for k≈100 inside million-sized vectors. Charts show how performance changes with k and N, and investigate GCC/Clang/MSVC and libstdc++/libc++ behavior. Slides and commented code live at https://meetingcpp.com/mcpp/slides so the exact numbers and inputs can be reproduced. median vs top-k

AI-written summary · about

  1. 0:00Introduction to benchmarking
  2. 2:47Analyzing sorting algorithms
  3. 7:44Performance unexpected results
  4. 9:33Complexity and standards
  5. 14:45Deeper benchmark investigation
  6. 21:02Sorting algorithm mechanics
  7. 26:00Intro sort implementation
  8. 32:52Selection and heap select
  9. 37:10Conclusion and Q&A
~/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.