~/talk

Finding Strings in Large Files

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

Search of gigabytes of mostly-binary files with very few partial matches is faster with heuristics than with naive std::search: a Boyer‑Moore‑Horspool style skip table leaps over most bytes and cuts a 500 MB run from ~900 ms to much less. Further speed comes from a handwritten SIMD assembly version that compares large blocks at once and drops runtimes to ~300 ms, becoming memory‑throughput bound; tradeoffs are lost easy portability, more complex handling of overlapping partial matches, and the need for platform‑specific assembly.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Sto Search
  3. 2:22Biome Search
~/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.