Skip to content

Commit

Permalink
link to Cython in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Behnel committed Jun 4, 2017
1 parent d75b7af commit c43f446
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FastRLock
---------

This is a C-level implementation of a fast, re-entrant, optimistic lock for CPython.
It is written in Cython. Under normal conditions, it is about 10x faster than
threading.RLock in Python 2.7 because it avoids all locking unless two or more threads
try to acquire it at the same time. Under congestion, it is still about 10% faster
than RLock due to being implemented in Cython.
It is written in `Cython <http://cython.org>`_.
Under normal conditions, it is about 10x faster than threading.RLock in Python 2.7
because it avoids all locking unless two or more threads try to acquire it at the
same time. Under congestion, it is still about 10% faster than RLock due to being
implemented in Cython.

This is mostly equivalent to the revised RLock implementation in Python 3.2,
but still faster due to being implemented in Cython.
Expand Down

0 comments on commit c43f446

Please sign in to comment.