News for hackers. Stuff that matters.
Re:Recording and visualising the 20k system calls it takes t... by pixelesque on Friday February 16, 2024 @07:42PM (#39405016)
Python's module importing / $PYTHONPATH lookup/traversal is incredibly inefficient, especially with cold FS caches...

I've worked at places where we've significantly patched the logic (in a way which breaks compatibility in some cases, so couldn't be up-streamed) which makes Python startup / module loading with hundreds of paths in $PYTHONPATH orders of magnitude faster...

There are no comments on this comment yet.