[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: Load times for Kword as compared to other WP
From: Werner Trobin <trobin () kde ! org>
Date: 2002-05-29 8:45:53
[Download RAW message or body]
On Wednesday 29 May 2002 10:25, David Faure wrote:
> On Wednesday 29 May 2002 08:16, Jonathan Drews wrote:
> > poincare@linux:~/Documents> time kword 1dfre10.txt
> > Xlib: extension "GLX" missing on display ":0.0".
> > kformula: WARNING: No font file read. Using defaults.
> > kformula: WARNING: No font file read. Using defaults.
> >
> > real 4m49.814s
> > user 4m18.160s
> > sys 0m2.460s
>
>
> Hmm, you have to know that when loading a .txt file, KWord actually
> loads the text twice. First the text import filter converts the text file
> to a .kwd file, then KWord loads that one ;-)
> So there's a way of making the text import much faster: it would need
> to be rewritten to directly feed the text into KWord.... but then we lose
> the advantage of command-line conversion, piping to another filter, etc.
No, it should behave exactly the same way, no matter whether it writes to a
file or to a KWord document. If we find out that we don't need the document
but a file after the filtering process (e.g. because we're doing a command
line conversion, or the next filter in the chain requests a file) the filter
manager just saves the KWord document. This should work in principle, but I
didn't test extensively.
If you decide to give it a try and it doesn't work, please send me your
patches + debug output you get.
Ciao,
Werner
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic