On 29/05/12 13:17, Tor Lillqvist wrote:
which is completely unnecessary if you create a
new document, or only use ODF
On the other hand, if you never use ODF, you still have to load the code for it?
that's an unfortunate side effect of how the ODF filter is implemented
in Writer: mostly it accesses the document via UNO API, but some parts
(tables especially) are intimately tied up with the Writer core, and so
there are Writer specific sub-classes of stuff from xmloff in
sw/source/filter/xml, and so sw is linked against xmloff.
no, wait, that is actually a side issue, of course the ODF filter could
be split out into a separate library, but i guess since ODF is the
default file format it makes less sense to do that than other formats; i
don't have a strong opinion either way in this case.
i guess it could make sense to split out some of the other filters that
are still linked into libsw, but i wonder if that in practice means only
HTML nowadays (the ASCII one has surprising users in core).
the fastest way to start is still to load
only the code that is necessary to start.
Isn't there something called demand paging that takes care of that?
it is supposed to do this, but falls short when it comes to startup
performance on rotating storage, which is why we have various platform
specific hacks to do linear reads of all libraries required at startup
in order to hide the seek latencies incurred by demand paging.
Why stop at the arbitrary division of libraries as they happen to
exist now; I am sure one could as well come up with dozens of other
classes of functionality that some group of users don't need when
starting up?
certainly, the distribution of code across libraries is to a large
extent an accumulation of historical accidents, so i guess many
improvements are possible there.
Context
- Re: feature/gbuild_merge needs testing (continued)
Re: feature/gbuild_merge needs testing · David Tardon
Re: feature/gbuild_merge needs testing · David Ostrovsky
Re: ciruclar dependencies (was: feature/gbuild_merge needs testing) · Stephan Bergmann
Re: feature/gbuild_merge needs testing · Norbert Thiebaud
Re: feature/gbuild_merge needs testing · Michael Meeks
Re: feature/gbuild_merge needs testing · Norbert Thiebaud
Re: feature/gbuild_merge needs testing · David Tardon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.