The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)
Rustom Mody
rustompmody at gmail.com
Tue Mar 22 07:15:21 EDT 2016
On Tuesday, March 22, 2016 at 7:32:13 AM UTC+5:30, Mark Lawrence wrote:
> On 22/03/2016 00:49, BartC wrote:
> >
> > I was surprised at one time that slices don't create 'views', but I've
> > since implemented view-slices and I can appreciate the problems.)
> >
>
> Why, the docs are quite clear on how Python works? Of course you can
> always use memoryviews
> https://docs.python.org/3/library/stdtypes.html#typememoryview
Interesting!
Can you show/point me to a recipe for getting a copyless view of any arbitrary
(not necessarily byte) array?
More information about the Python-list
mailing list