<?xml version="1.0" encoding="iso-8859-1"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Comments on article "About PyRXP"</title>
<link rel="alternate" type="text/html" href="http://base-art.net/Articles/27/" />
<updated>March 12, 2006 07:56 PM</updated>
<author>
  <name>Philippe Normand</name>
</author>
<id>urn:md5:11329</id>
<generator uri="http://pythonfr.org/">Alinea</generator>



<entry>
<title>Dj Mixer on About PyRXP</title>
<author>
<name>Dj Mixer</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/196/"/>
<id>http://base-art.net/Comments/196/</id>
<updated>March 12, 2006 07:56 PM</updated>
<content type="html">
&lt;p&gt;ReportLab are proud to present pyRXP version 0.9, the fastest validating XML parser available for Python, and quite possibly anywhere :-).&lt;/p&gt;
&lt;p&gt;This is not a full DOM implementation, but we think it will do what 90% of the people want, in 10% of the time. And with validation. Enjoy!&lt;/p&gt;
&lt;p&gt;&lt;a class="reference" href="http://www.reportlab.co.uk/svn/public/reportlab/trunk/rl_addons/pyRXP/"&gt;http://www.reportlab.co.uk/svn/public/reportlab/trunk/rl_addons/pyRXP/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="reference" href="http://mp3djay.com"&gt;http://mp3djay.com&lt;/a&gt;&lt;/p&gt;

</content>
</entry>

<entry>
<title>Fredrik on About PyRXP</title>
<author>
<name>Fredrik</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/77/"/>
<id>http://base-art.net/Comments/77/</id>
<updated>December 26, 2004 09:31 AM</updated>
<content type="html">
&lt;p&gt;According to my large-file benchmarks (large files, mostly ASCII, lot of elements, few attributes), Gnosis is nearly &lt;em&gt;10 times slower&lt;/em&gt; than RXPU, and uses twice as much memory.&lt;/p&gt;
&lt;p&gt;ElementTree 1.2.1 (and later) under Python 2.3 (or later) is as close as you can get with a pure-Python solution, and that's still over 4 times slower and needs 25% more memory.  The standard minidom is a little slower than that (but still faster than gnosis), but is extremely memory-hungry.&lt;/p&gt;
&lt;p&gt;So don't trust the pundits: RXPU is &lt;em&gt;extremely&lt;/em&gt; fast, and very memory-efficient (and RXP is even faster, but more limited).&lt;/p&gt;

</content>
</entry>

<entry>
<title>phil on About PyRXP</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/73/"/>
<id>http://base-art.net/Comments/73/</id>
<updated>December 23, 2004 10:42 AM</updated>
<content type="html">
&lt;p&gt;Ian,&lt;/p&gt;
&lt;p&gt;Yes the tuple-list-dictionnary representation is fine, i'm ok with that. But then, you have to mix lamba forms, map() calls to extract usefull informations from the tree. I don't use such coding tricks very often (maybe should i ?), so it's not easy.&lt;/p&gt;

</content>
</entry>

<entry>
<title>Ian Bicking on About PyRXP</title>
<author>
<name>Ian Bicking</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/72/"/>
<id>http://base-art.net/Comments/72/</id>
<updated>December 23, 2004 08:23 AM</updated>
<content type="html">
I can't speak to the Unicode issues (assuming that's the flaw people are talking about with PyRXP).  But I used RXP a while ago, and it seemed fine to me.  Honestly, I don't find the tuple-and-list representation to be a problem at all.  Certainly a representation using an efficient type would be preferable, but as long as you aren't actually exposing the tuples outside of your domain library, they seem like a reasonable compromise.  Maybe with __slots__ (which postdate PyRXP?) the memory efficiency isn't as much of an issue -- though object construction time would still be a concern (assuming that tuples and lists are very fast to create).
</content>
</entry>

<entry>
<title>phil on About PyRXP</title>
<author>
<name>phil</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/71/"/>
<id>http://base-art.net/Comments/71/</id>
<updated>December 21, 2004 06:35 PM</updated>
<content type="html">
Ok, so i forget PyRXP forever ... i'm impatient to see PyRXPU compared to others (real?) parsers. The PyRXP's homepage is wrong so ...
</content>
</entry>

<entry>
<title>verbat on About PyRXP</title>
<author>
<name>verbat</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/70/"/>
<id>http://base-art.net/Comments/70/</id>
<updated>December 20, 2004 05:33 PM</updated>
<content type="html">
stop using PyRXP now. It's not an xml parser, and it should eb replaced by PyRXPU ASAP. Then, it would be slow, obviously.
</content>
</entry>

<entry>
<title>anon on About PyRXP</title>
<author>
<name>anon</name>
</author>
<link rel="alternate" type="text/html" href="http://base-art.net/Comments/69/"/>
<id>http://base-art.net/Comments/69/</id>
<updated>December 19, 2004 06:01 PM</updated>
<content type="html">
&lt;p&gt;&lt;a class="reference" href="http://www-106.ibm.com/developerworks/library/x-matters39.html"&gt;http://www-106.ibm.com/developerworks/library/x-matters39.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'm pretty sure gnosis.xml.objectify is quite close in speed to pyRXP--especially if you compare to the Unicode-enabled pyRXPU that actually parses XML (rather than some XML-like non-standard language: see Uche Ogbuji's comments on this).&lt;/p&gt;
&lt;p&gt;At the same time: gnosis.xml.objectify nodes are as Pythonic as you can possibly get.  Even more so, IMO, than those in ElementTree, for example.&lt;/p&gt;

</content>
</entry>


</feed>
