~/talk

Serialization More than pickling

Talkat PyCon US 2022 · 2022-04-27..05-03· [python]
links:none on file
slides:none on file

A concrete comparison of serializers using an ebird API example where a BirdCounter object holds 266 birds and construction takes milliseconds but re-running costly queries can take hours The talk actually benchmarks json pickle dill messagepack and marshmallow shows json ~12 KB pickle faster smaller dill slower comparable size explains dill works for CTF as it reconstructs objects across kernels demonstrates pickle executes arbitrary code by running system commands and recommends schema tools like protobuf or marshmallow when needing versioning while noting messagepack small and fast for attribute-only serialization

AI-written summary · about

  1. 0:00Introduction
  2. 1:37Serialization
  3. 10:58Alternatives
  4. 17:14JSON
~/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.