On Mon, 12 Jun 2006 17:13:26 -0700, Jim Gibson <> wrote:
>In article <iOmjg.14484$>, Ignoramus17503
><> wrote:
>
>> Aside from a suggestion to look at RXParse, which I will do, I have
>> not yet seen what I was looking for, so here's a rephrase of my
>> question.
>
>Why have you started a new thread?
>
>Please ignore any post from robic0 and don't consider trying to use
>RXParse. If you do, you will get no help from anyone here (including
>robic0).
>
>I have used XML:
arser and the expat library
>(<http://expat.sourceforge.net/>) to parse XML. I started developing a
>program that uses XML by using XML::SAX:
urePerl. It worked on small
>test files. When I was ready to test on larger files, I installed the
>expat library and used XML:
arser. The speed-up was about a factor of
>40.
>
>>
>> I need to convert XML documents to Perl structures, very efficiently,
>> CPU wise.
>>
>> I am currently using XML::Simple, which does what I want, but is
>> slow.
>>
>> I have looked at various Perl XML FAQs, manual for XML::LibXML, etc,
>> looks like they parse XML into all kinds of strange (to me) things.
>>
>> So, here's my question: what perl module converts XML to perl
>> structure (hashes of hashes of arrays etc), and does it very
>> efficiently.
>
>SAX parsers do not produce Perl data structures. They call your
>routines on each element. You then store the data in your own
>structures. It is very efficient, but I do not have any experience with
>XML::Simple or XML::Twig, so cannot give you a comparison.
I'm gonna let this slight go Jim, consider yourself lucky!!!
Since you do not have experience with Simple or Twig, I consider
you post a light easy breeze that fades with the tides. I would not
have folled you comments but for the "indirect" reference to ignore
robic0 entirely! I have a long memory and will not forget this.
I've been purposely absent and choose posts now based on my expertise.
I have on now. A really big, complicated one.
He never mentioned SAX (simple api xml), why did you? You don't know
what xml is and you will never. I don't take kindly to personal attacks!
The next one and I will rip you a new asshole!!!!!!
robic0
(god of porn)