~/talk

High-performance systems in Swift

Talkat dotSwift 2019 · on Monday, 2019-01-28· [swift]
slides:none on file

Claims that classes are faster than structs get dissected with concrete numbers and code: a naïve HTTPRequest struct copies cost ~52 ns versus an Int baseline much lower; moving all stored properties into a boxed heap object and using copy-on-write via isKnownUniquelyReferenced makes the struct passable in ~50 ns while preserving value semantics. Examples come from SwiftNIO work, show the boxed storage pattern, the small benchmark, and when to apply this optimization.

AI-written summary · about

  1. 0:00Introduction
  2. 0:50Algorithm complexity
  3. 2:00HTTP requests
  4. 3:35Performance
  5. 15:05Closing thoughts
~/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.