[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ordering of return values in C++ files
From: |
Rik |
Subject: |
Ordering of return values in C++ files |
Date: |
Fri, 09 Dec 2011 08:43:47 -0800 |
12/9/11
John,
I believe you mentioned at some point that the following construction
retval(1) = xxx;
retval(0) = yyy;
is preferable to
retval(0) = yyy;
retval(1) = xxx;
because octave_value_list will only be sized once. Is my memory correct?
If this is true then there are 51 instances of the bad pattern which would
be trivial to fix.
Cheers,
Rik
- Ordering of return values in C++ files,
Rik <=