On Sun, 2007-04-01 at 10:40 -0400, James Knott wrote:
> Richard Detwiler wrote:
> > James Knott wrote:
> >> NoOp wrote:
> >>  
> >>> As others have mentioned, OOo has to check a lot more things than MS
> >>> Office does due to the fact that it *is* a multi-platform office suite.
> >>> If MS Office were a multi-platform office suite, I suspect that it
> >>> would
> >>> take just as long, or longer to start.
> >>>
> >>>       
> >>
> >> You'd think that sort of thing could be determined at install and
> >> appropriate adjustments made then.
> >> For example, why would a Windows version have to check to determine what
> >> OS it's running on every time it's run?  Is there any chance it would
> >> suddenly find itself on Linux or Mac?
> >>
> >>
> >>   
> >
> > That was my thought also, when I read this particular reason for OOo's
> > slowness.
> >
> > Is this really true? That every time OOo starts, it has to do all of
> > this hunting around to figure out what operating system it has been
> > installed on? I'm not a programmer, but that seems quite bizarre.
> 
> Also, why does it even have to check at all?  There are different
> packages for the different platforms.  So I can see that the Windows
> version might have to check for which version of Windows, but once it
> has been installed, that shouldn't be an issue.
Here is the deal ......... M$ builds windows and they know exactly where
"THEIR" libraries  are. Well, they may just need to check the registry
to for the library.  Further, unlike OO, they DO NOT depend on third
party libraries.

 But with Linux, there are hundreds of distributions, each of which may
place the required libraries in different places. Further, if one mounts
nfs share and runs OO over the network, there  may be different
operating systems running the same program. In this case searching for
libraries is valid. One may remove libraries inbetween OO invocation,
which would not be detected if OO checks for the libraries every time.
Here is the code from soffice script that searches for mozilla
libraries.

add_moz_lib=
for moz_lib_path in
$MOZILLA_LIBRARY_PATH /usr/lib /usr/lib/mozilla /usr/lib/mozilla-firefox 
/usr/lib/mozilla-thunderbird /opt/mozilla/lib /opt/MozillaFirefox/lib 
/opt/MozillaThunderbird/lib; do
        test -f $moz_lib_path/libnss3.so && add_moz_lib=":$moz_lib_path"
&& break;
done

Every thing said and done, I am NOT defending the slowness of OO .......
but there is a valid reason for its slowness. I am sure some programmer
will be able to overcome the slowness with appropriate changes. Perhaps,
we should file a bug report and vote for it.

-G

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