From: Travis O. <oli...@ee...> - 2006-07-11 23:43:11
|
Filip Wasilewski wrote: >Hi, > >the way of accessing data with __array_interface__, as shown by Travis >in [1], also works nicely when used with builtin array.array (if someone >here is still using it;). > >Time to convert array.array to ndarray is O(N) but can be made O(1) just >by simple subclassing. > >[1] http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/3191164 > > > This is exactly the kind of thing I'd like to see get into Python. Thanks for picking up the ball.. -Travis |