Tags

threads

1 post

  • The GIL Is Not a Lock on Your CPU

    Eight threads of pure-Python arithmetic run at 0.98x the speed of one. The same eight threads doing IO run at 7.90x. The GIL is a scheduler, and it has a dial.

Arrow keys to move, Enter to open.