This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony
Fabien Potencier 262041382f merged branch Tobion/PhpMatcherDumper-Improvement (PR #3763)
Commits
-------

56c1e31 performance improvement in PhpMatcherDumper

Discussion
----------

performance improvement in PhpMatcherDumper

Tests pass: yes

The code generation uses a string internally instead of an array. The array wasn't used for random access anyway.
I also removed 4 unneeded iterations this way (when imploding, when merging and twice when applying the extra indention). A `preg_replace` could also be saved under certain circumstances by moving it.
And there was a small code errror in line 139.
2012-04-03 11:38:13 +02:00
..
Bridge [TwigBridge] Added a TwigEngine in the bridge 2012-04-02 18:28:35 +02:00
Bundle merged branch stof/twig_engine_move (PR #3761) 2012-04-02 19:06:44 +02:00
Component merged branch Tobion/PhpMatcherDumper-Improvement (PR #3763) 2012-04-03 11:38:13 +02:00