Message188317
When C implementation of the unpickle reads a data, it also prefetches some data using peek() (if available) and then concatenates read and peeked chunks in the one input buffer. This causes an additional copying when a large data is read. The proposed patch gets rid of concatenating by moving a peeking before reading. |
|
Date |
User |
Action |
Args |
2013-05-03 18:16:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, alexandre.vassalotti |
2013-05-03 18:16:39 | serhiy.storchaka | set | messageid: <1367604999.94.0.501171592637.issue17897@psf.upfronthosting.co.za> |
2013-05-03 18:16:39 | serhiy.storchaka | link | issue17897 messages |
2013-05-03 18:16:39 | serhiy.storchaka | create | |
|