[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable d
From: |
Michael Goffioul |
Subject: |
[Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist |
Date: |
Mon, 18 Nov 2013 01:41:17 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36 |
Follow-up Comment #2, bug #40613 (project octave):
I think this is down to the implementation. When looking at the code, it
appears octave is looking for the symbol named NAME, then check that the
symbol found is of type TYPE. In that regard, supplying the type argument does
not offer any speedup.
Because a symbol can be many different things, when a symbol does not exist as
a variable, octave will try hard to find the matching symbol: functions,
methods... and if nothing is found, it'll refresh path and start again.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40613>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, anonymous, 2013/11/17
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, Rik, 2013/11/17
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist,
Michael Goffioul <=
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, John W. Eaton, 2013/11/17
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, John W. Eaton, 2013/11/20
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, Rik, 2013/11/20
- [Octave-bug-tracker] [bug #40613] exist(..., 'var') slow when variable does not exist, Rik, 2013/11/20