To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=94541
                 Issue #|94541
                 Summary|slowish transex parser 
               Component|l10n
                 Version|OOH680m7
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|pjanik
             Reported by|mmeeks





------- Additional comments from [EMAIL PROTECTED] Wed Oct  1 15:10:09 +0000 
2008 -------
I got bored watching helpex take a long time, I did some profiling of the 1st
part of it, and it seems to spend much of it's time in MergeDataFile and below.

My attached patch shrinks the time helpex.cxx takes to instantiate the
MergeDataFile (on my machine) like this:

before:

real    0m4.071s
real    0m4.070s

after:

real    0m2.316s
real    0m2.302s

on parsing /helpcontent2/source/text/shared/01/localise.sdf, it should also
shrink the memory usage too (though having a generic ByteString interning
mechanism would be helpful here). Anyhow - most of the helpex slowness it turns
out is in the latter stage of XML output, but hopefully the win will help other
i18n tools.

I diff'd the output before and after the patch, and it seems the same.

HTH.

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