The Mercury Project
Re: [mercury-users] Sluggish XML parsing

Home

News

Information
  Overview
  Features
  Documentation
  Papers
  Developers
  Events
  Reports

Mailing Lists
  Developers
  Users
  Search

Download
  Current Release
  Snapshot
  Old Releases

Related
  Applications
  MCORBA
  Contributing Code

Contact

Search

Subject: Re: [mercury-users] Sluggish XML parsing
From: Michael Day (mikeday@corplink.com.au)
Date: Sun Dec 24 2000 - 17:33:38 EST


> if you want to find out if higher order code is the culprit you could
> compare with my mercury xml parser:
>
> ftp://ftp.dcs.shef.ac.uk/home/tomas/xml-0.5.zip
>
> please report your findings :-)

Hmm, well it compiles a lot faster and runs blisteringly quickly, but a
comparison would not really be valid as it does not appear to do any
checking as to whether a document is well formed.
For example, this:

        <foo>
        </bar>

Is successfully parsed as this:

        <bar>
        </bar>

Which is not correct.

Nonetheless, it's nice that compiling it with -O6 takes minutes rather
than hours - is this particular sluggishness due to all the introduced
preds involved with higher order code? Compiler dudes?

Michael

--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users@cs.mu.oz.au
administrative address: owner-mercury-users@cs.mu.oz.au
unsubscribe: Address: mercury-users-request@cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request@cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



This mail archive was generated by hypermail 2b25 on Sun Dec 31 2000 - 00:40:05 EST.