Message133285
| Author |
jcea |
| Recipients |
Christophe Simonis, Garen, amaury.forgeotdarc, arekm, asvetlov, doko, eric.araujo, georg.brandl, jcea, jreese, lars.gustaebel, leonov, loewis, nadeem.vawda, nicdumz, nikratio, ockham-razor, pitrou, proyvind, rcoyner, shirish, strombrg, thedjatclubrock, vstinner, ysj.ray |
| Date |
2011年04月08日.01:36:16 |
| SpamBayes Score |
0.00028420475 |
| Marked as misclassified |
No |
| Message-id |
<1302226577.53.0.977880551733.issue6715@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think doesn't makes sense for two threads using at the same time the same compress/decompress object. But I could guess ony reason for the locking code is to avoid crashing the interpreter just having two threads racing each other on an inherently mutable object.
Dan, parallel compression simply split the input data and compress each fragment independly. The actual compression object is not shared, each block is compressed with its own self-contained compression context. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年04月08日 01:36:17 | jcea | set | recipients:
+ jcea, loewis, georg.brandl, doko, amaury.forgeotdarc, arekm, lars.gustaebel, pitrou, vstinner, nadeem.vawda, nicdumz, eric.araujo, Christophe Simonis, rcoyner, proyvind, asvetlov, nikratio, leonov, Garen, ysj.ray, thedjatclubrock, ockham-razor, jreese, strombrg, shirish |
| 2011年04月08日 01:36:17 | jcea | set | messageid: <1302226577.53.0.977880551733.issue6715@psf.upfronthosting.co.za> |
| 2011年04月08日 01:36:16 | jcea | link | issue6715 messages |
| 2011年04月08日 01:36:16 | jcea | create |
|