|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch |
Date: | Tue, 13 Aug 2019 14:45:14 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #12, bug #56752 (project octave): Rik: Thanks for the detailed info. In comment #11, which .m file were you running, still the original bm_toeplitz.m? Function lookup is slow. We have to check for overloaded functions. See fcn_info::fcn_info_rep::xfind in fcn-info.cc for all the things we look for before finding a built-in function. Is there some better way to do it? For example, is there a way to cache a previous lookup and not have to search again if we know that the load path has not changed and no new overloaded functions could possibly be found? I think the lvalue thing is complicated by having to support the special meaning of "end" inside index expressions. As I recall, there are some weird cases we try to handle for compatibility. Maybe there are also better ways of doing that. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56752> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |