Message187891
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. |
|
Date |
User |
Action |
Args |
2013-04-27 07:55:34 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, alexandre.vassalotti, Arfrever, asvetlov, neologix |
2013-04-27 07:55:34 | serhiy.storchaka | set | messageid: <1367049334.75.0.137571666167.issue17810@psf.upfronthosting.co.za> |
2013-04-27 07:55:34 | serhiy.storchaka | link | issue17810 messages |
2013-04-27 07:55:34 | serhiy.storchaka | create | |
|