To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=51304
                  Issue #:|51304
                  Summary:|svx/source/form/fmshell.cxx: performance
                Component:|Drawing
                  Version:|680m110
                 Platform:|Other
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|wg
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue Jun 28 04:26:53 -0700 
2005 -------
FmFormShell::HasUIFeature( sal_uInt32 nFeature )
...
        else if ((nFeature & FM_UI_FEATURE_SHOW_DATANAVIGATOR) == 
                 FM_UI_FEATURE_SHOW_DATANAVIGATOR)
        {
            access ("foo baa: started", 0);
            bResult = ( GetImpl()->getDocumentType() == eEnhancedForm );
            access ("foo baa: finished", 0);
        }
...
I get ~100ms of work (Linux) done [ strace -ttt output ] between those two
accesses. Worse - this links in the large & not-visibility-marked-up 'dbtools'
which (as an extra library to search) will further degrade subsequent linkage.

The worst thing is - all that library loading goes to waste - since we only care
about the boolean == eEnhancedForm state - which a simple query for
XFormsSupplier will tell us ;-)

I'll knock up a patch in an hour or two to add a quicker 'isEnhancedFoo' helper
 method there ...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to