help-octave
[Top][All Lists]
Advanced

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

Re: Performance optimization (allocation inside a for loop)


From: John W. Eaton
Subject: Re: Performance optimization (allocation inside a for loop)
Date: Thu, 2 Apr 2009 13:25:50 -0400

On  2-Apr-2009, Rob Mahurin wrote:

| Any idea why (1:n)(1:n) makes a full matrix more quickly than [1:n]?  
| Just looking at timing, it looks like [] waits for something that () 
| () doesn't.  I would have expected any difference to go the other way.

What do you mean by "more quickly?"

jwe


reply via email to

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