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: Fri, 03 Apr 2015 16:58:46 +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 #12, bug #43769 (project octave):

Maybe the performance hit with my latest patch is not too large because the
is_package call that iterates over the list of directories in the path only
hapapens if the package name is provided?  So in all the calls like


  return instance_ok ()
      ? instance->get_loader (pack_name).find_method (class_name, meth,
                                                      dir_name)
      : std::string ();


in which pack_name is an empty string, no lookup or insertion is attempted
anyway.

    _______________________________________________________

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]