Message70910
| Author |
pitrou |
| Recipients |
josiahcarlson, pitrou |
| Date |
2008年08月08日.20:49:31 |
| SpamBayes Score |
0.0030217513 |
| Marked as misclassified |
No |
| Message-id |
<1218228569.5779.7.camel@fsol> |
| In-reply-to |
<1218227911.07.0.696687308019.issue3489@psf.upfronthosting.co.za> |
| Content |
Hi,
> Sadly, this isn't quite as easy as it would seem.
You are right, I was overly optimist when thinking about this.
> Offering this ability in the momoryview object would be very
> interesting, though I'm not sure that the memoryview object is able to
> offer a multi-segment buffer interface where the segments are not the
> same length (this could be hacked by having a single pointer per byte,
> but at that point we may as well perform a copy).
I'm not sure what you mean, but I think we can just restrict it to the
simple case of a single contiguous buffer.
shift{left,right} could be useful too (and faster). |
|