[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: plan for lightweight DOM implementation
From:       Ariya Hidayat <ariya () kde ! org>
Date:       2005-11-04 14:30:21
Message-ID: ba035dd10511040630u67cd300fxe73d1f9d47303bea () mail ! gmail ! com
[Download RAW message or body]

> And to explain my proposal better, basically, it's getting semi-lazy
> loading - certain tags are loaded on-demand, other immediately at the
> beginning. For KSpread, for instance, the cell-holding tag (and
> sub-tags) would be an ideal candidate for lazy loading, because we
> only need one at a time. Whereas the rest only occupies a small amount
> of memory, and can be loaded all at once.

I can understand this better now. But due to the way QDom is
implemented, I don't find an easy way to hook additional parsing
feature like that. And if I implemented kind of wrappers, than better
to go with a completely new stuff as the overhead is not worth.

I have basic all-loading-at-once DOM classes right now. I'll try to
patch KSpread to use these classes instead of normal QDom & friends,
just for checking. After that, time to implement the loading-on-demand
feature.


--
Ariya Hidayat, http://ariya.blogspot.com
http://www.google.com/search?q=ariya+hidayat&btnI
_______________________________________________
koffice-devel mailing list
koffice-devel@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