diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2018-07-18 18:03:19 -0700 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2021-01-04 10:20:44 -0500 |
commit | e622e868c75c75d3377c243982bc93b295928d4b (patch) | |
tree | 788ffa5521d829f398f2e9a844747e2c1351a2c3 /ext/curl | |
parent | ce2e1076d4a16112a79e9bdf0dadd7ca9a4d0061 (diff) | |
download | php-git-e622e868c75c75d3377c243982bc93b295928d4b.tar.gz |
Reduce memory usage of SplObjectStorage
Track an 8-byte pointer as the key instead of 16-byte zval.
(4 byte on 32-bit builds)
The memory used for a set of 1 million objects decreased from
114 MiB to 106 MiB.
Use the new `Z_PARAM_*` APIs to parse the `zend_object*` pointer directly
Closes GH-6566
Diffstat (limited to 'ext/curl')
0 files changed, 0 insertions, 0 deletions