Message163408
| Author |
kristjan.jonsson |
| Recipients |
kristjan.jonsson, pitrou, sbt |
| Date |
2012年06月22日.13:56:56 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340373417.12.0.856957491986.issue15124@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
well, I'm thinking for example about threading.Condition, where Lock objects are being created and erased willy nilly.
Also, locks are normally uncontested. The unconstested case is the one to optimize for. As such, the test cases are not artificial at all.
The implementers of RLock in _threadingmodule obviously thought this was important, I'm merely bringing that same benefit to the Lock object. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月22日 13:56:57 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, pitrou, sbt |
| 2012年06月22日 13:56:57 | kristjan.jonsson | set | messageid: <1340373417.12.0.856957491986.issue15124@psf.upfronthosting.co.za> |
| 2012年06月22日 13:56:56 | kristjan.jonsson | link | issue15124 messages |
| 2012年06月22日 13:56:56 | kristjan.jonsson | create |
|