octave-bug-tracker
[Top][All Lists]
Advanced

[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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]