z7zmey / php-parser

PHP parser written in Go

Home Page:https://php-parser.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace `cznic/golex` by `Ragel`

z7zmey opened this issue · comments

Ragel generates a more performant lexer than cznic/golex

For the historical reference, it seems like the performance boost is significant.

Benchmarks in php-parser repository show x2-3 speedup.

In a more real-case scenario that performance increase is lower.