~/talk

Zero Waste: Tricks to Recycle (Memory) Better

TalkinItalianat PyCon Italia 2024 · 2024-05-22..05-25· [python]
links:none on file
links:none on file
slides:none on file

The talk explains how memory waste hurts developers and explores how Python’s garbage collector and its underlying algorithms work (focusing on CPython). It presents techniques and tools for analyzing memory usage and strategies to reduce a program’s memory consumption through debugging and code-analysis approaches.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Python memory management
  3. 7:10Measuring memory usage
  4. 11:54Optimization strategy
  5. 13:05Short-lived variables
  6. 16:21Generators and readability
  7. 18:11Slots and namedtuple
  8. 20:20Weakref for weak references
  9. 23:10Summary and balance
  10. 24:16Q&A
~/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.