On Thu, Feb 23, 2012 at 2:50 AM, Joachim Breitner <nome...@debian.org>wrote:


> the speed is ok, but not really great. For SAT-Britney I initially used
> it, but I had to hand-roll the parser (but only for the fields of the
> Sources file that I needed):
>
> http://git.nomeata.de/?p=sat-britney.git;a=commitdiff;h=e7f64e9f3db32a08d69e8b774eb56dd272f2cbd7
> The 25% improvement is overall runtime, I think, the parsing was sped up
> much more.
>

I can believe there is much room for improvement. I think I originally
wrote those parsers *before* ByteString existed. (But then added ByteString
support when it was available). Now we have attoparsec, enumerators, pipes,
smallstring, and all sorts of new toys :)

So, I will say that the Debian library has acceptable performance for at
least one application (the autobuilder) which regularly reads in entire
Packages and Sources files as well as other debian control files. And,
patches to make it even better would be acceptable :p

- jeremy

Reply via email to