FAT Python - A New Static Optimizer for Python 3.6

FAT Python - A New Static Optimizer for Python 3.6

EuroPython Conference via YouTube Direct link

AST Abstract Syntax Tree

9 of 25

9 of 25

AST Abstract Syntax Tree

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

FAT Python - A New Static Optimizer for Python 3.6

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 FAT Python New static optimizer for CPython 3.6
  3. 3 Faster Python
  4. 4 New optimizer?
  5. 5 Simplified goal
  6. 6 My previous attempts
  7. 7 Namespace guards
  8. 8 Specialize code
  9. 9 AST Abstract Syntax Tree
  10. 10 AST optimizer
  11. 11 Call builtin functions
  12. 12 Simplify iterables
  13. 13 Loop unrolling
  14. 14 Copy constants
  15. 15 Constant folding
  16. 16 3 Copy to constants Python code: def func(obj): return len obj
  17. 17 (3) Remove dead code if test
  18. 18 PEP 509: dict version • Add a version to Python dict
  19. 19 PEP 510: Specialize def func
  20. 20 PEP 511: Transformer • Add-o command line option
  21. 21 Python 3.6? . Good feedback on the 3 PEPS
  22. 22 Remove unused vars print 1
  23. 23 Copy globals
  24. 24 Function inlining
  25. 25 Profiling • Run the application in a profiler

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.