Xavier R. Guérin

Results 30 comments of Xavier R. Guérin

I am not familiar with the requirements to be fully compatible with jsoo, but I'll look into it. Regarding the C part of the library, it only concerns fast paths....

Revisiting this comment: It should be possible to provide a dual library version of `bitstring`, one with the C functions and one in pure ocaml. The latter would be 100%...

Seconded. I was expecting using a generator to address that problem, to no avail; `match%sedlex` only starts lexing the input when EOF is found. That also makes parsing from a...

I am toying with making the channel non-canonical and using a generator. If that works it may not be a sedlex issue after all. I'll keep y'all posted.

So it seems this is indeed about when sedlex triggers the parsing of its internal buffer. I’m investigating.

What is your intuition about this for performance improvement?

Makes sense. I was looking at the code and since most of the internal logic is byte oriented, I was wondering whether or not it made sense to convert all...

Actually, reading the code it looks like `Htlml_writer` and `Xml_writer` already return string streams, and `write_html` and `write_xml` transform that stream into a char stream. **EDIT** I locally added `write_*`...

Yes, #10 would definitely be the answer (this is basically what I did locally). Regarding `EPIPE`, I am still investigating. But I think there may be an underlying problem. If...