Message189952
> As for partial writes, I'm not sure if it's backwards compatible to
> turn them on by default, but it might be nice if the option were
> exposed. Partial writes may have less benefit in Python than in C
> since we'd have to reallocate and copy a string instead of just moving
> a pointer.
You can slice a memoryview() to avoid a copy. But I'm not sure of the point of partial writes here: can't you just send slices that are small enough (e.g. 4KB each)? |
|
Date |
User |
Action |
Args |
2013-05-25 10:57:18 | pitrou | set | recipients:
+ pitrou, jcea, janssen, vstinner, giampaolo.rodola, benjamin.peterson, r.david.murray, cbay, Ben.Darnell, Ken.Giusti |
2013-05-25 10:57:18 | pitrou | set | messageid: <1369479438.38.0.668022017361.issue8240@psf.upfronthosting.co.za> |
2013-05-25 10:57:18 | pitrou | link | issue8240 messages |
2013-05-25 10:57:18 | pitrou | create | |
|