~/talk

Understanding Swift Performance

TalkinKoreanat Let'Swift 2017 · on Saturday, 2017-09-23· [swift]
name:Yu Yongha
links:none on file
slides:none on file

Explains concrete Swift performance rules: small value types stay on the stack and copy cheaply while large or reference-backed values cause heap allocations; existential containers store small values inline but spill to the heap when too big, so protocol-typed variables can allocate. Describes ARC’s cost (atomic retain/release in hot loops and allocation-induced thread-sync pauses) and recommends fixes like using copy-on-write storage to reduce heap churn and enabling whole-module optimization for inlining and specialization.

AI-written summary · about

  1. 0:00Swift performance intro
  2. 5:14Value vs reference types
  3. 10:27Memory allocation impact
  4. 17:07Reference counting overhead
  5. 24:02Method dispatch perf
  6. 31:24Protocol type details
  7. 37:10Static vs dynamic poly
  8. 40:25Choosing abstractions
  9. 42:38Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.