Importing Is Executing
Part 15 of a series on the CPython runtime: what import does on Linux, counted in system calls. Python 2.7 making 18,469 of them for import json with 100 path entries and Python 3.8 4,372, a .pyc that keeps running old …
Part 15 of a series on the CPython runtime: what import does on Linux, counted in system calls. Python 2.7 making 18,469 of them for import json with 100 path entries and Python 3.8 4,372, a .pyc that keeps running old …