Re: [Numpy-discussion] weave and Numeric vs. weave and numpy

2006-07-28 Thread Travis Oliphant
Rolf Wester wrote: > David Grant wrote: > >> A factor of 2! Is that short for a factor of **2? >> >> > That means Numeric/weave takes about 17 s (on my PC), and the > numby/weave version takes about 32 s. > Please show your code. There are several factors that have changed here. Fo

Re: [Numpy-discussion] weave and Numeric vs. weave and numpy

2006-07-28 Thread Rolf Wester
David Grant wrote: > A factor of 2! Is that short for a factor of **2? > That means Numeric/weave takes about 17 s (on my PC), and the numby/weave version takes about 32 s. -- # Dr. Rolf Wester # Fraunhofer Institut f. Lasertechnik # Steinbachstrasse 15, D-

Re: [Numpy-discussion] weave and Numeric vs. weave and numpy

2006-07-27 Thread David Grant
A factor of 2! Is that short for a factor of **2?On 7/27/06, Rolf Wester <[EMAIL PROTECTED] > wrote:Hello,I have a program using Numeric and weave developed with Python2.3. Ijust switched to Python2.4 and numpy. The Numeric/weave version isalmost a factor of 2 faster compared to numpy/weave. Is th

[Numpy-discussion] weave and Numeric vs. weave and numpy

2006-07-27 Thread Rolf Wester
Hello, I have a program using Numeric and weave developed with Python2.3. I just switched to Python2.4 and numpy. The Numeric/weave version is almost a factor of 2 faster compared to numpy/weave. Is that what is to be expected or are there options to improve the speed of numpy/weave? I would