[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing w
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function |
Date: |
Wed, 08 Apr 2015 20:08:31 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 |
Follow-up Comment #14, bug #43769 (project octave):
Rik:
The get_loader function is called many times to get the default_loader when
the (package) name is empty, and also sometimes for things like foo.bar (in
this case name will be "foo") and that is the only time we check whether "foo"
is a package name. This kind of thing doesn't happen frequently now so I
expect the performance hit of the new (relatively expensive) is_package
function will be low. It might be good to have another way to cache the list
of packages so that it is faster to determine whether a name can be a package,
but I'm not sure how to properly do that when removing directories from the
list. I don't think package names are unique, are they? I mean, +mypack
could appear in multiple directories in the loadpath, correct?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43769>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, John W. Eaton, 2015/04/02
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, Michael Goffioul, 2015/04/02
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, John W. Eaton, 2015/04/03
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, Michael Goffioul, 2015/04/03
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, John W. Eaton, 2015/04/03
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, John W. Eaton, 2015/04/03
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, Rik, 2015/04/06
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function,
John W. Eaton <=
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, John W. Eaton, 2015/04/08
- [Octave-bug-tracker] [bug #43769] error: invalid meta.package indexing when using strfind function, Rik, 2015/04/11