STINNER Victor added the comment: Oh, networkx looks to be written in pure Python. You should search for a module implemented in C. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue24605> _______________________________________