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/Component/Form/ChoiceList
Fabien Potencier 4c08b07cb2 minor #29309 Optimize perf by replacing call_user_func with dynamic variables (ostrolucky)
This PR was merged into the 4.1 branch.

Discussion
----------

Optimize perf by replacing call_user_func with dynamic variables

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This provides similar boost as in https://github.com/symfony/symfony/pull/29245, but on more places and without complexity increase. Check eg. https://github.com/fab2s/call_user_func for proof

Fabpot failure unrelated

Commits
-------

0c6ef01713 Optimize perf by replacing call_user_func with dynamic vars
2018-12-10 05:13:43 +01:00
..
Factory Optimize perf by replacing call_user_func with dynamic vars 2018-12-09 23:58:21 +01:00
Loader minor #29309 Optimize perf by replacing call_user_func with dynamic variables (ostrolucky) 2018-12-10 05:13:43 +01:00
View Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00
ArrayChoiceList.php Optimize perf by replacing call_user_func with dynamic vars 2018-12-09 23:58:21 +01:00
ChoiceListInterface.php [Form] Fixed handling of choices passed in choice groups 2015-06-22 14:31:47 +02:00
LazyChoiceList.php Merge branch '3.4' into 4.1 2018-10-02 14:40:59 +02:00