XML Benchmarks in D
Scott Sanders
scott at stonecobra.com
Thu Mar 13 08:31:28 PDT 2008
N/A Wrote:
>
> > Should be able to:
> > auto fc = new FileConduit ("test.txt");
> > auto buf = new MappedBuffer(fc);
> > auto doc = new Document!(char);
> > doc.parse(buf.getContent());
> > That should do it.
>
> Thanks,
>
> I was wondering on how to do it using the PullParser.
>
PullParser is exactly the same, just swap Document!(char) with PullParser!(char).
Scott
More information about the Digitalmars-d
mailing list