~/talk

Speeding Up Codable, or How My Code Got Into Apple

TalkinRussianat Mobius 2026 Spring · 2026-05-12..05-13· [swift]
links:none on file
slides:none on file

An investigation of Swift’s Codable performance focused on JSONDecoder and JSONEncoder: the talk identifies bottlenecks, proposes optimization ideas, and describes a custom benchmark designed to measure decoder/encoder throughput. It also recounts contributing performance patches to Apple that doubled JSONDecoder/Encoder speed and outlines further techniques that could speed Codable by an additional 3–5× while reducing app size.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Codable performance matters
  3. 3:30Performance impact
  4. 8:02Slow Codable causes
  5. 10:28Optimizing type casts
  6. 15:22Fixing generic constraints
  7. 20:13Apple’s flawed benchmark
  8. 21:38Contributing to Swift
  9. 25:52Large-scale migrations
  10. 29:01Mangled names deep dive
  11. 33:38Universal coding keys
  12. 36:27Final results
  13. 37:09Q&A
~/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.