~/talk

Optimizing A String Class for Computer Graphics in Cpp

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
links:none on file
slides:none on file

SIMDString is a drop-in std::string replacement tuned for graphics that embeds small strings on the object, uses SIMD intrinsics, and relies on a custom freelist allocator and template-configurable inline buffer (16–128 bytes). It intentionally aliases const-segment strings to avoid copies, benchmarks against std::string, Folly and EA implementations, and shows roughly >5x faster on typical small-string workloads; variants run in production at NVIDIA and Roblox and in long-running research engines.

AI-written summary · about

  1. 0:00String optimization intro
  2. 1:26Why strings matter
  3. 3:53CPU vs GPU strings
  4. 8:26Optimized string needs
  5. 10:56Designing SymbiString
  6. 12:20Optimizing constant segments
  7. 17:34Alternative optimizations
  8. 18:56Benchmarking method
  9. 21:44Performance comparison
  10. 22:52SymbiString adoption
  11. 23:34Conclusion and future
  12. 24:15Q&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.