[Numpy-discussion] Quick Question about Optimization
Mon May 19 18:55:45 CDT 2008
On to the code, here's a current implementation, attached. I make no
claims about it being great code, I've modified it so that there is a
weave version and a sans-weave version.
Many of the suggestions make things a bit faster. The weave version
bombs out with a rather long log, which can be found at:
I can tell it's failing for the second weave.blitz line, but I don't
understand why exactly.
What does this mean?:
error: no match for call to '(blitz::FastArrayIterator<double, 1>)
(const blitz::TinyVector<int, 2>&)'
Also note, I'm not asking to match MATLAB performance. It'd be nice,
but again I'm just trying to put together decent, fairly efficient
On Mon, May 19, 2008 at 3:53 PM, Christopher Barker
> Anne Archibald wrote:
>> 2008/5/19 James Snyder <firstname.lastname@example.org>:
>>> I can provide the rest of the code if needed, but it's basically just
>>> filling some vectors with random and empty data and initializing a few
>> It would kind of help, since it would make it clearer what's a scalar
>> and what's an array, and what the dimensions of the various arrays
> It would also help if you provided a complete example (as little code as
> possible), so we could try out and time our ideas before suggesting them.
> Anyone know how fast this is compared to Matlab? That could be the
> difference right there.
> Christopher Barker, Ph.D.
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> Numpy-discussion mailing list
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3794 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080519/25908a53/attachment-0001.py
More information about the Numpy-discussion