Yes. This is also the reason why PPCompositeParser caches the internal
parser objects.
Cheers,
Doru
On Sat, Feb 21, 2015 at 11:24 PM, Johan Fabry <jfabry(a)dcc.uchile.cl> wrote:
So the easy solution in ‘production use’ would be to create the parser
once and then keep hanging on to it? I would not say that this is really a
PetitParser issue, but more how the parser is used.
On Feb 21, 2015, at 19:03, Thierry Goubier
<thierry.goubier(a)gmail.com>
wrote:
Hi Doru,
the low hanging fruit is the time needed to create a PP parser (time for
new).
I profiled PPSmalltalkParser over a bench used by Lucas Renggli a few
years ago,
and PPSmalltalkParser spends half the time in "new" (and it is a
lot slower than it used to be).
Thierry
---> Save our in-boxes!
http://emailcharter.org <---
Johan Fabry -
http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev