[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Faster saving
From: Thomas Zander <zander () kde ! org>
Date: 2004-04-14 13:54:45
Message-ID: 200404141554.46533.zander () kde ! org
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 14 April 2004 15:44, David Faure wrote:
> You don't understand. Sure, DOM is "mature".
> But it also requires to have the entire document in memory at once.
> If you have reasonable size documents, DOM is really great.
> But if you're thinking about a 1000-pages document with 10000 paragraph
> tags and a huge number of styles associated with them, holding all of that
> in memory as a DOM document *plus* the application's own data structures
> for those paragraphs and styles, can really eat all the available memory.
I understand that; and that problem has been solved in the parser I pointed
to; it just forgets old tags and re-reads them when you need them again (or
something).
The JDom API also allows you to use a SAX parser under water, the API won't
change, reading of tags does.
Anyway; this is quickly getting off-topic, and while I like talking about cool
technologies I definitely conclude I'm spoiled :)
I'll accept that in the world that the files of OOo occupies SAX (the API) is
not dead.
Cheers!
- --
Thomas Zander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAfUKlCojCW6H2z/QRAqn8AKDakhVK2zxBTrP1BHuPCA46Pwsy9gCg8JkP
9LlPG7lNfE45+orC4DP/DWU=
=PUrL
-----END PGP SIGNATURE-----
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic