diff options
author | Tyson Andre <tysonandre775@hotmail.com> | 2021-02-26 09:48:36 -0500 |
---|---|---|
committer | Tyson Andre <tysonandre775@hotmail.com> | 2021-03-01 09:41:13 -0500 |
commit | b4fbf1d381d23ad3e9ad8f6df572adc1984a0a45 (patch) | |
tree | 12f329dc9b4ba1a5d4ab18337b5185a57395f569 /Zend/tests/traits/bug74607a.phpt | |
parent | b652267383b4f7e2a2ba6e48333a677619595a0a (diff) | |
download | php-git-b4fbf1d381d23ad3e9ad8f6df572adc1984a0a45.tar.gz |
Optimize serializing class names
Because of the memcpy, compilers can't infer that ZSTR_LEN (i.e. class_name->len)
did not change, so they copy it out of memory into a register for the last two
accesses.
php_var_serialize_string already does something similar.
Closes GH-6734
Diffstat (limited to 'Zend/tests/traits/bug74607a.phpt')
0 files changed, 0 insertions, 0 deletions