Skip to content

4.2.4.1

@ondrejmirtes ondrejmirtes tagged this 26 Oct 17:32
build/manual.py applies build/interpreter.patch to the upstream sources before
Rector runs: the parser reads the tokens of the buffer in place, an alternation
predicted to read a single production that leaves nothing behind is read as
that production, the terminals a sequence cannot go without are read in place,
and TraceReducer::merge() is written into the reduction loop.

About 6% fewer instructions on phpstan-src's regex grammar and 3% on
phpdoc-parser's PHPDoc grammar, with identical results on both.

Amp-Thread-ID: https://ampcode.com/threads/T-01a17820-94d1-75c8-9206-2e802d9c0556
Assets 2
Loading