[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46536] Bad indexing could produce more inform
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages |
Date: |
Mon, 14 Dec 2015 19:57:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0 |
Follow-up Comment #8, bug #46536 (project octave):
The third patch works fine.
Regarding the coding question, none of the code is performance sensivitive
since it will only be hit if an error has occurred and we are returning to the
interactive prompt. This says that we should just do it the way we like.
Your current patch with a temporary variable has the advantage of already
being coded. On the other hand, if it is easy not to create a temporary
variable, call a bunch of constructors, get memory from the stack for the new
object, etc. then we should do that.
Is the only change really to add "const" to a function declaration?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46536>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #46536] bad indexing produces different error message in dev than default, Rik, 2015/12/01
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Rik, 2015/12/04
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Lachlan Andrew, 2015/12/14
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages,
Rik <=
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, John W. Eaton, 2015/12/14
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Rik, 2015/12/15
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Lachlan Andrew, 2015/12/16
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, John W. Eaton, 2015/12/18
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Lachlan Andrew, 2015/12/18
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, John W. Eaton, 2015/12/20
- [Octave-bug-tracker] [bug #46536] Bad indexing could produce more informative error messages, Lachlan Andrew, 2015/12/29