This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients alexandre.vassalotti, pitrou, serhiy.storchaka
Date 2013-05-03.18:16:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367604999.94.0.501171592637.issue17897@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-05-03 18:16:39serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, alexandre.vassalotti
2013-05-03 18:16:39serhiy.storchakasetmessageid: <1367604999.94.0.501171592637.issue17897@psf.upfronthosting.co.za>
2013-05-03 18:16:39serhiy.storchakalinkissue17897 messages
2013-05-03 18:16:39serhiy.storchakacreate