ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-dev
scipy-dev
[SciPy-dev] Does it worth the trouble to support non contiguous array in C extensions ?
by David Cournapeau other posts by this author
Nov 27 2006 11:12PM messages near this date
Re: [SciPy-dev] UMFPACK support in scipy | Re: [SciPy-dev] Does it worth the trouble to support non contiguous array in C extensions ?
Hi,

    I am about to push in SVN the first version of a small package to 
compute lpc coefficients and lpc residual. I spent most of the time 
trying to understand how to handle non contiguous arrays in various 
parts of the C code...
    Now, I am wondering: does it really worth the trouble ? I noticed 
that most of the time, it is even faster (and obviously much easier to 
code/debug/test, and much more reliable) to just copy the data in a 
contiguous new array before processing with a C function expecting 
contiguous array...
    Is there a general policy regarding thoses issues for scipy ? Is it 
enough to write simple C extensions expecting contiguous arrays, and 
converting input to contiguous layout if necessary ?

    Cheers,

    David
_______________________________________________
Scipy-dev mailing list
Scipy-dev@[...].org
http://projects.scipy.org/mailman/listinfo/scipy-dev
Thread:
David Cournapeau
Robert Kern
Robert Cimrman

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved