Message133285
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. |
|
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 | |
|