Closed staabm closed 1 year ago
I can see Rector to bottleneck on token_get_all.
token_get_all
do you think we could backport this change to PhpToken::tokenize to 3.x so libs which need php7 compat can still benefit from the memory/perf improvements of PhpToken::tokenize when run on php8?
PhpToken::tokenize
php7 compatible backport of https://github.com/nette/utils/commit/8e2e71cd702a59ba4e786bb031135583e2f1ef23
did some measures locally and it seems the differences are negligible
I can see Rector to bottleneck on
token_get_all
.do you think we could backport this change to
PhpToken::tokenize
to 3.x so libs which need php7 compat can still benefit from the memory/perf improvements ofPhpToken::tokenize
when run on php8?php7 compatible backport of https://github.com/nette/utils/commit/8e2e71cd702a59ba4e786bb031135583e2f1ef23