~/talk

Extending the Standard Library

Talkat dotSwift 2018 · on Monday, 2018-01-29· [swift]
slides:none on file

Covers a concrete proposal to add an in‑place remove(where:) operation to Swift’s standard library, with a clear claim: avoid quadratic-time index‑shifting and make removal linear time by combining MutableCollection element mutation with RangeReplaceableCollection trimming. Shows a working array implementation, compares it to a filter‑then‑assign fallback (allocates memory), discusses edge cases, protocol constraints, performance fixes found after review, and the Swift Evolution/forum route for getting the change accepted.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27What is the Standard Library
  3. 1:08What does this code do
  4. 3:10Common operations
  5. 5:12User forums
  6. 6:55Standard library criteria
  7. 10:09Remove performance
  8. 12:41Range replaceable
  9. 19:00Outro
~/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.