diff options
author | Matthew J. Francis <mjay.francis@gmail.com> | 2015-07-06 08:09:24 +0800 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-08 16:51:54 +0200 |
commit | 61b1697069c50ff72339d4592add42ab72b03243 (patch) | |
tree | 84787febec55351abbec7688cef601de310dc32a /sw | |
parent | b3e645cde951906d883f015d342f85fc0eedb2ec (diff) |
Reduce the amount of up front work in performing introspection
Previously, when using PyUNO over a remote bridge, each remote
call which returned an object could result in 50+ further calls
to query interfaces on the result, regardless of whether and
how the object was then used. The majority of these queries
were made under css.script.Invocation to pre-cache certain
information about the returned object.
By making better use of available information to eliminate
interface queries which are certain to fail, and lazily
acquiring those interfaces which are required, remote scripting
is significantly accelerated. In general, this also gives a
small speedup for local scripting.
Change-Id: I4f36da6b5f09cb0d22f21291f05fbea2ae7ae697
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions