Hello, I was playing with the erb sample parser in the repository and I noticed that the parsing is quite time consuming even if the string to parse is just plain text (without any erb tags).
For example, parsing a 25000 characters plain text, takes on my machine 1.3
seconds.
For information, removing the "str('<%').absent?" from the :text rule and
parsing the same string takes about 0.5 seconds.
For erb like parsers, having long plain text is quite usual, and I was
wondering what would be the most efficient way to parse it?
Thanks in advance,
--
Eric Sagnes
サニエ エリック
signature.asc
Description: This is a digitally signed message part.
