Hi Doru!
I assume that you tried the original PetitParser. PetitParser2 offers
the possibility to optimize the parser (kind of a compilation), and this
provides a significant speedup:
https://github.com/kursjan/petitparser2
Would you be interested in trying this out?
Yes, I'd like to give this a shot, too. However, as far as I know, PP2 is
only available for Pharo and not VW, is it?
Speaking of optimizations, I also tried to use memoizing the petit parser.
However, the times got worse instead of better. Is there a rule of thumb
where to apply #memoized in a sensible way? As far as I understand,
applying it to the root parser does not memoize subsequent parsers, does
it?
Kind regards, Steffen