Announcement

Collapse
No announcement yet.

Python 3.11 Performance Benchmarks Show Huge Improvement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Originally posted by sinepgib View Post

    Python already has mutex and rwlock in its standard library IIRC. That's because the GIL only prevents races at the individual opcode level, not complex objects.​
    you are right, I forgot that, but I cannot find the RwLock in std lib https://docs.python.org/3/library/threading.html

    Comment


    • #42
      Originally posted by NobodyXu View Post
      you are right, I forgot that, but I cannot find the RwLock in std lib https://docs.python.org/3/library/threading.html
      My memory failed me. While mutex is part of the stdlib, the read write lock I used was part of a PyPI package.

      Comment

      Working...
      X