Message78857
| Author |
vstinner |
| Recipients |
ebfe, gps, pitrou, vstinner |
| Date |
2009年01月02日.18:55:03 |
| SpamBayes Score |
0.010148101 |
| Marked as misclassified |
No |
| Message-id |
<1230922509.44.0.38793838169.issue4751@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
New implementation of finer lock grain in _hashlibopenssl: only create
the lock at the first update with more than 8 KB bytes. Object
creation/deallocation is faster if we hash less than 8 KB.
Changes between hashopenssl_threads-4.diff and my new patch: fix the
deadlock in ENTER_HASHLIB() (for the GIL) without speed change
(because we don't change the GIL state if we don't use a lock).
Changes between py3k trunk and my new patch:
- release the GIL with large byte string => faster with multiple CPUs
- fix EVP_get_block_size() and EVP_get_digest_size(): the context was
not protected by the lock! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年01月02日 18:55:09 | vstinner | set | recipients:
+ vstinner, pitrou, gps, ebfe |
| 2009年01月02日 18:55:09 | vstinner | set | messageid: <1230922509.44.0.38793838169.issue4751@psf.upfronthosting.co.za> |
| 2009年01月02日 18:55:08 | vstinner | link | issue4751 messages |
| 2009年01月02日 18:55:07 | vstinner | create |
|