~/talk

Hacking PyLongObject on Python 3.2

TalkinItalianat EuroPython 2011 · 2011-06-20..06-26· [python, compilers-and-language-design]
links:none on file
slides:none on file

Examines internal changes to Python 3.2’s long integer implementation (PyLongObject), explaining how the object layout and algorithms differ from earlier versions. Describes practical hacking: reading the C source, modifying representation and operations, and rebuilding Python to test effects on performance and behavior.

AI-written summary · about

  1. 0:00Python 3 integers
  2. 5:28PyLongObject structure
  3. 10:53Small integer optimizations
  4. 17:46Old vs new implementations
  5. 23:08Long to PyLongObject
  6. 29:28Implementation challenges
  7. 35:26Additional optimizations
  8. 39:04Theory versus practical limits
  9. 42:14Assembly for performance
  10. 47:09Structural changes pros/cons
  11. 51:29Q&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.