[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance optimization (allocation inside a for loop)
From: |
Francesco Potorti` |
Subject: |
Re: Performance optimization (allocation inside a for loop) |
Date: |
Thu, 02 Apr 2009 21:23:35 +0200 |
>> In Octave 3.2, some operations on ranges will preserve the range data
>> type. In earlier versions, nearly all operations converted range
>> objects to matrix objects first.
>
>adding/subtracting/multiplying by a scalar, to be precise. and unary
>minus. This is useful for indexing. Is anyone interested in adding /
>subtracting two ranges?
I think not. It would only make sense with ranges having the same
number of elements, and as far as I can tell, it is easy to just create
the range you need rather than summing up two of them. Or I just do not
have enough imagination :)
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: address@hidden
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
- Re: Performance optimization (allocation inside a for loop), (continued)
- Re: Performance optimization (allocation inside a for loop), Rob Mahurin, 2009/04/01
- Re: Performance optimization (allocation inside a for loop), Elias Assmann, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), James Sherman Jr., 2009/04/02
- Re: Performance optimization (allocation inside a for loop), John W. Eaton, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Elias Assmann, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Rob Mahurin, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), John W. Eaton, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Rob Mahurin, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Jaroslav Hajek, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Jaroslav Hajek, 2009/04/02
- Re: Performance optimization (allocation inside a for loop),
Francesco Potorti` <=
- Re: Performance optimization (allocation inside a for loop), Jaroslav Hajek, 2009/04/02
- Re: Performance optimization (allocation inside a for loop), Andreas Romeyke, 2009/04/02
Re: Performance optimization (allocation inside a for loop), Przemek Klosowski, 2009/04/03
Re: Performance optimization (allocation inside a for loop), Francesco Potorti`, 2009/04/02