[pythran] Re: ndarray

  • From: serge Guelton <sguelton@xxxxxxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Sun, 31 Aug 2014 16:45:18 +0200

On Sun, Aug 31, 2014 at 01:54:37PM +0200, Pierrick Brunet wrote:
> The problem with you syntax is that you can't have : continuous dim => non
> continuous dim => continuous dim.
> For this reason, I prefer serge syntax which will require nothing from user
> point of view (except more compilation time).

I 100% agree with this. Contiguoys slice is an implementation detail
that should be handled by the (pyhran) compiler and not exhibited to the
end user.

> For information, "ndarray<long,2>, contiguous_slice, slice" is auto generated,
> user syntax is still "long[][]"

yup

Other related posts: