To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56722





------- Additional comments from [EMAIL PROTECTED] Thu Apr 27 02:22:07 -0700 
2006 -------
> cd->mmeeks: Currently I don't see a good solution for the stats. I
> have to know if there are custom toolbars in the share layer. So I
> have to check at least all xml filenames for the pattern "custom_". 

So - the thing is that a 'stat' is not really necessary to check a filename -
you can just read the directory. Unfortunately [ for reasons best known to
itself ] the implementation is doing a *ton* of stats inside the XStorage ->
XNameAccess -> getElements implementation - and then just returning a string
name that can easily be had without doing any stat ;-) [ to make it clear, the
inode (file size, mtimes etc.] & directory entries are very often not contiguous
on disk ].

Anyhow - lets not optimize before profiling. I have a nice setup here doing real
time clock tick based startup profiling of OO.o with a clean disk block cache -
and the results are interesting, and show up the UI code but we can perhaps poke
at that on the performance list / in a new bug.

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