~/talk

Small is beautiful: Techniques to minimise memory footprint

Talkat CppCon 2019 · 2019-09-15..09-20· [web-performance]
links:none on file
slides:none on file

Describes a compact pointer class that stores addresses relative to data or stack bases, using configurable bit widths (example: 36-bit pointers) so tree nodes drop from 24 to 15 bytes — about 9 bytes saved per node — with decompression done by one mask, one shift and one add. Shows wrappers that behave like normal pointers (new/delete still work). Presents fractional-bit packing using mixed-radix (products of value ranges) computed at compile time with templates/constexpr so many small enums fit with zero padding.

AI-written summary · about

  1. 0:00Introduction to memory footprint
  2. 2:49Pointer compression techniques
  3. 19:31Bit-field optimization methods
  4. 30:10Summary and trade-offs
~/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.