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 Arfrever, alexandre.vassalotti, asvetlov, neologix, pitrou, rhettinger, serhiy.storchaka
Date 2013-04-27.07:55:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367049334.75.0.137571666167.issue17810@psf.upfronthosting.co.za>
In-reply-to
Content
I were thinking about framing before looking at your last changes to PEP 3154 and I have two alternative propositions.

1. Pack picked items in blocks of some predefined (or specified at the start with the BLOCKSIZE opcode) size. Only some large data (long strings, large integers) can cross the boundary between blocks. In all other cases the block should be padded with the NOP opcode.

2. A similar to your proposition, but frames should be declared with a special PREFETCH opcode (with 2- or 4-bytes argument). Large data pickled outside frames (this prevents doublecopying). Opcode and size of large data object can (should?) be included in the previous frame.
History
Date User Action Args
2013-04-27 07:55:34serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix
2013-04-27 07:55:34serhiy.storchakasetmessageid: <1367049334.75.0.137571666167.issue17810@psf.upfronthosting.co.za>
2013-04-27 07:55:34serhiy.storchakalinkissue17810 messages
2013-04-27 07:55:34serhiy.storchakacreate