~/talk

Swift Pills #2

TalkinFrenchat FrenchKit 2019 · 2019-10-07..10-08· [swift]
slides:none on file

Shows a concrete fix for expensive logging in Swift: avoid building log strings unless they will be emitted by passing the work as closures, using @autoclosure or explicit closures to defer computation. Presents a small logger wrapper that evaluates messages only when logging is enabled, eliminating unnecessary string construction and allocations and incurring no runtime cost when logging is off.

AI-written summary · about

~/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.