From: Todd M. <jm...@st...> - 2003-01-15 20:39:13
|
Francesc Alted wrote: >A Dimecres 15 Gener 2003 21:16, Todd Miller va escriure: > > >>But... It's not clear to me that knowing an object is an array will >>help since getting data elements still has to be done fast, and that >>seems hard to do without knowing the arrayobject struct. Keep in mind >>that Numeric and numarray arrays are strided and possibly discontiguous, >> so there's more to data access than owning a base pointer, as would be >>the case in C. >> >> > >I think you can use the numarray High-Level C API to overcome these >dificulties. > <snip> But doesn't using the numarray C-API require a level of coupling (direct knowledge of numarray during compilation) that Chris is trying to avoid? > > > Todd |