~/talk

The design of absl::StrCat...

Talkat CppCon 2017 · 2017-09-24..09-29· [rust]
slides:none on file

absl::StrCat implements a one‑allocation concatenation that avoids the cascade of temporaries created by repeated operator+ by converting inputs to AlphaNum (a small buffer plus string_view) then copying into a pre sized buffer, using initializer_list to support unlimited arguments and a static_cast to const AlphaNum& to avoid copies. Benchmarks show about three times faster than snprintf style approaches, and the implementation called CatPieces proves the idea with simple memcpy assembly of the result.

AI-written summary · about

  1. 0:00Intro
  2. 0:16Background
  3. 1:46AlphaDoom
  4. 2:31Implementation
  5. 2:48Speed
  6. 4:22Final slide
~/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.