List Info

Thread: Re: "ocaml_beginners"::[] XHTML post-processing




Re: "ocaml_beginners"::[] XHTML post-processing
user name
2007-01-20 10:43:01

On Fri, Jan 19, 2007 at 12:37:20AM -0600, Dave Benjamin wrote:
> I tried CDuce, which has a really nice syntax but the performance on
> parsing a sample XHTML file seemss too slow for the realtime use I'm
> imagining.

Which version of CDuce? We noticed that CDuce got a bit faster in
(IIRC) version >= 0.3.9.

The other thing I guess you could look at is profiling CDuce itself.

Rich.

--
Richard Jones
Red Hat UK Limited

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] XHTML post-processing
user name
2007-01-21 18:20:37

On Sat, 20 Jan 2007, Richard Jones wrote:

> On Fri, Jan 19, 2007 at 12:37:20AM -0600, Dave Benjamin wrote:
>> I tried CDuce, which has a really nice syntax but the performance on
>> parsing a sample XHTML file seemss too slow for the realtime use I'm
>> imagining.
>
> Which version of CDuce? We noticed that CDuce got a bit faster in
> (IIRC) version >= 0.3.9.

I was using 0.4.1 from Debian unstable.

> The other thing I guess you could look at is profiling CDuce itself.

Well, I just tried Xml-Light:
http://tech.motion-twin.com/xmllight.html

... it seems to be quite fast and creates a tree I can pattern-match on,
so I think I'll head in that direction.

Thanks,
Dave

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )