lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 01/03/2015 6:15 am, "Julien" <julien+lua@desgats.fr> wrote:
>
> Hello,
>
> I finished the blog articles[1] explaining the design and
> implementation of these optimizations.
>
> Now I will focus on making the optimizer less dumb to be able to catch
> more optimization spots (for instance to not break if there is a
> pattern or a predicate match).
>
> [1]
> http://mille337.net/index.php?d=2015/02/22/14/28/35-lets-optimize-lpeg---part-1-introduction
>

Nice work!

I'm left wondering why lpeg doesn't do this kind of optimisation each time you transform a pattern (as it does other optimisations)

Do you have plans to get the runtime of the optimiser down?