octave-maintainers
[Top][All Lists]
Advanced

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

Patch for sparse indexed assignment


From: John W. Eaton
Subject: Patch for sparse indexed assignment
Date: Thu, 13 Apr 2006 15:59:03 -0400

On 12-Apr-2006, David Bateman wrote:

| Here is an optimization of sparse indexed assignments like s(p,:)=1 or
| s(p,1)=sprandn( length(p),1) which makes them significantly faster...
| 
| D.
| 
|         * Sparse.cc (assign (Sparse<LT>&, const Sparse<RT>&)): Optimize
|         assignment.

I applied this patch.

Thanks,

jwe



reply via email to

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