Open
Description
today I was looking into why the unit test-suite requires 3-4GB of RAM on my windows machine.
phpunit is getting inefficient because it needs to export/serialize all data of data-providers.
while looking deeper I noticed that the current class hierarchy contains a Circular dependency between ReflectionMethod
and ReflectionClass
.
my thesis is, that a circular reference in this repos classes will also translate to inefficiences at PHP runtime, because the garbage collector need to do some extra work to free memory.
I want to leave this issue here to discuss whether we can do something about that.