help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very slow filter.cc


From: David Bateman
Subject: Re: Very slow filter.cc
Date: Mon, 24 Jan 2005 12:13:27 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040923)

Miroslaw Kwasniak wrote:

On Mon, Jan 24, 2005 at 10:34:12AM +0100, Michael Creel wrote:
By any chances, can the differences be due to changes in random number generators? Can you repeat this loading given data from a file?
Michael.

You can see that only filter time  was reported ;)
t = cputime;
y = filter(b,1,x);
cputime - t

To be sure I repeated with loading data from file

OCTAVE_VERSION = 2.1.63
ans = 14.030
OCTAVE_VERSION = 2.1.64
ans = 4.0900


If as you say it is a fresh CVS, then John's changes to make a, b and x const and not use the "MArray<T>::operator ()" which calls make_unique for y and si are the reason for the speed up.

Regards
David

--
David Bateman                                address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]