Re: xmls 0.2 released

Miles Egan <[email protected]>
Newsgroups gmane.lisp.clump
Message-ID <[email protected]>
On Thu, 2003-06-12 at 13:06, Sven Van Caekenberghe wrote:
> On Thursday, June 12, 2003, at 09:36 PM, Miles Egan wrote:
> 
> > The big speed win was figuring out a way to handle cdata sections
> > without more than one character of lookahead.  Getting rid of the
> > userspace lookahead buffer and going back to read-char / unread-char
> > accounts for almost all of the speedup.  It's now roughly as fast as
> > your library in my tests.

> The test files are a bit too small for decent speed tests. I think it 
> is indeed safe to say that they are in the same league (mine doesn't do 
> namespaces though, but there are none used in the test files).
> 
> You do however cons a lot more - if you could find the big offenders 
> there, you'll gain speed as well.

Thanks for the tip.  I'll look into that.

I wonder if we could somehow pool our efforts?  The free lisp world
probably doesn't need two lightweight xml parsers.  I like your
event/dom api better than my everything-in-ram approach.  I do need
namespace and cdata support to do soap or beep, though.

I've noticed you're using the same xml tag as keyword approach that
Franz' parser uses.  I like this approach overall.  Does it create any
gc issues?  If a long-running parser parses a wide variety of documents
with different tags will it eventually exhaust memory with all the new
keyword symbols?

-- 
Miles Egan <[email protected]>

_______________________________________________
Clump mailing list
[email protected]
http://manly.caddr.com/mailman/listinfo/clump
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+6OPzU4Jq/wH1PVERAu/iAKD0TjpHdPDqD7Y7Qk/ek+1B2K6lEgCfeb2p
MsMb1s6OdMdpEKLDXDKl/I0=
=zRsu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.