|
|
|
|
|
by FranOntanaya
2126 days ago
|
|
> Manipulating complex data structures that are large I do assume it's not the case, but one of the footguns with PHP is that assigning around large variables/arrays and triggering the copy-on-write can end building up the amount of duplicates of that data being kept alive. Pass by reference, unsets, generators and the like aren't used super often due to a lot of runs being small stateless requests, but sometimes they may be needed. |
|
Ultimately I’ve had less issues with Python for this type of workload and is eventually where we moved.