Skip to content

Xiang-Robi/python_coroutine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

python_coroutine

Advantages of Coroutine over Multithreading

  • NO CPU scheduler overhead => Faster
  • Each thread has its own stack (8MB in Linux) in RAM => Lighter
  • NO locking on shared data structures => Safer
  • Python GIL => Usually only ONE thread is allowed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages